Browse Source

fix test for container_present

master
cinnaboot 5 years ago
parent
commit
4a7b982748
  1. 3
      roles/lxd_host/tasks/container_install.yml

3
roles/lxd_host/tasks/container_install.yml

@ -9,8 +9,7 @@
register: command_return register: command_return
- set_fact: - set_fact:
container_present: true container_present: "{{ command_return.rc == 0 }}"
when: command_return.rc == 0
- when: not container_present - when: not container_present
block: block:

Loading…
Cancel
Save