[WIP] Create LXContainers from inventory
Find a file
2024-11-20 11:26:22 +01:00
handlers Initial commit 2024-11-20 11:26:22 +01:00
meta Initial commit 2024-11-20 11:26:22 +01:00
tasks Initial commit 2024-11-20 11:26:22 +01:00
vars Initial commit 2024-11-20 11:26:22 +01:00
.gitignore Initial commit 2024-11-20 11:26:22 +01:00
README.md Initial commit 2024-11-20 11:26:22 +01:00

lxc_create

Create and configure LXContainers defined in inventory

Requirements

Role Variables

  • Required
    • ssh_keys: List of SSH keys for root
  • Optional
    • list_of_lxc_hosts: unset default is groups.lxc_host (inventory group "lxc_hosts")
    • root_password: unset, default is root
    • service_username: unset, if defined user will be created
    • service_password: unset, default is same as service_username
    • service_ssh_keys: unset, default is same as ssh_keys (for root)

Dependencies

  • Host must be prepared for LXContainers

Example Playbook

- hosts:
    - lxc_containers
  roles:
     - lxc_create

License

AGPL3.0-or-later

Author Information