|
@@ -4,7 +4,7 @@ |
|
|
remote_user: root |
|
|
remote_user: root |
|
|
gather_facts: false |
|
|
gather_facts: false |
|
|
vars: |
|
|
vars: |
|
|
lxd_source: |
|
|
|
|
|
|
|
|
lxd_container_source: |
|
|
type: image |
|
|
type: image |
|
|
mode: pull |
|
|
mode: pull |
|
|
server: https://images.linuxcontainers.org |
|
|
server: https://images.linuxcontainers.org |
|
@@ -15,7 +15,8 @@ |
|
|
community.general.lxd_container: |
|
|
community.general.lxd_container: |
|
|
name: "{{inventory_hostname}}" |
|
|
name: "{{inventory_hostname}}" |
|
|
state: started |
|
|
state: started |
|
|
source: "{{lxd_source}}" |
|
|
|
|
|
|
|
|
source: "{{lxd_container_source}}" |
|
|
|
|
|
config: "{{lxd_container_config}}" |
|
|
profiles: ["default"] |
|
|
profiles: ["default"] |
|
|
wait_for_ipv4_addresses: true |
|
|
wait_for_ipv4_addresses: true |
|
|
timeout: 600 |
|
|
timeout: 600 |
|
|