|
|
|
|
@ -12,6 +12,13 @@
|
|
|
|
|
container_present: true |
|
|
|
|
when: command_return.rc == 0 |
|
|
|
|
|
|
|
|
|
# |
|
|
|
|
# TODO: static ip not working |
|
|
|
|
# the eth0 device is added, and ipv4.address is set, but the device |
|
|
|
|
# is not attached to the bridge as per |
|
|
|
|
# https://discuss.linuxcontainers.org/t/using-static-ips-with-lxd/1291/6 |
|
|
|
|
# could add some more tasks to do it manually :( |
|
|
|
|
# |
|
|
|
|
- name: "install container {{ container_name }}" |
|
|
|
|
community.general.lxd_container: |
|
|
|
|
name: "{{ container_name }}" |
|
|
|
|
|