coaxial.lxd
LXD Ansible role
Install and configure LXD on a host.
Requirements
A Ubuntu host with Python. Tested with 16.04/Xenial, 18.04/Bionic, 18.10/Cosmic.
Role Variables
| Name | Default | Possible values | Description |
|---|---|---|---|
lxd__config_daemon_enable |
false |
true or false |
Whether the daemon is remotely accessible or not; lxd__config_core_https_address and lxd__config_core_trust_password must be set if this is true |
lxd__config_core_https_address |
none | any valid IP address | Sets the core.https_address variable in the server configuration |
lxd__config_core_trust_password |
none | any string | Sets the core.trust_password variable in the server configuration |
lxd__config_storage_driver |
dir |
any valid storage backend | cf. list of supported backends |
lxd__config_storage_source |
/var/lib/lxd/storage-pools/default |
any valid path or dataset if using zfs | cf. the source variable for storage configuration |
lxd__config_network_ipv4_address |
auto |
auto, none, CIDR IPv4 |
Sets the ipv4.address, cf. network configuration |
lxd__config_network_ipv6_address |
auto |
auto, none, CIDR IPv6 |
Sets the ipv6.address, cf. network configuration |
Dependencies
None
Example Playbook
- hosts: all
roles:
- coaxial.lxd
License
BSD
Author Information
Coaxial <64b.it>
Install
ansible-galaxy install coaxial.lxdLicense
Unknown
Downloads
89
Owner
