I create containers using the lxd_containers module. The "apply_container_configs" action is run each time the playbook runs so the task is "changed" on every playbook run.
Here is the verbose output http://pastebin.com/Yp5uJ7xQ Ubuntu 16.04 ansible --version ansible 2.2.0 --- container_list: - name: foobar hwaddr: "00:16:3e:1c:94:38" profile: "single-interface" alias: "local-ubuntu-16.04" --- # create all of the containers on the container hosts - name: create container lxd_container: architecture: x86_64 ephemeral: false name: "{{ item.name }}" state: started source: type: image alias: "{{ item.alias }}" config: {"volatile.eth0.hwaddr": "{{ item.hwaddr }}"} profiles: [ "{{ item.profile }}" ] with_items: "{{ container_list }}" -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/46bbc772-7ee1-4d79-a4a1-46540b6880e5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.