Skip to content

Commit

Permalink
Merge branch 'muelli-master'
Browse files Browse the repository at this point in the history
  • Loading branch information
drybjed committed Sep 24, 2017
2 parents 4bbca6d + 9fd8171 commit f184eb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/manage_containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
when: ((item.0.name is defined and item.0.name) and
(item.1.item.name is defined and item.0.name == item.1.item.name) and
(item.0.state|d("present") in ['stopped', 'absent']) and
(item.1.stdout_lines[0] == 'RUNNING'))
(item.1.stdout_lines and item.1.stdout_lines[0] == 'RUNNING'))

- name: Destroy LXC containers when requested
command: lxc-destroy -n {{ item.name }}
Expand Down

0 comments on commit f184eb3

Please sign in to comment.