forked from saratov/infra
fix end_play behaviour
This commit is contained in:
parent
d3610fdb95
commit
177c0f444c
@ -27,7 +27,7 @@
|
||||
#strategy: free
|
||||
pre_tasks:
|
||||
- meta: end_play
|
||||
when: destroy_all is defined and destroy_all
|
||||
when: destroy_all is defined and destroy_all|bool
|
||||
- name: install prereqs
|
||||
raw: 'apt-get update && apt-get install -qy python2.7\(distutils\)'
|
||||
when: destroy_all is not defined or not destroy_all
|
||||
@ -43,6 +43,9 @@
|
||||
hosts: stack
|
||||
gather_facts: false
|
||||
strategy: free
|
||||
pre_tasks:
|
||||
- meta: end_play
|
||||
when: destroy_all is defined and destroy_all|bool
|
||||
tasks:
|
||||
- name: put keys to known hosts
|
||||
copy:
|
||||
|
Loading…
Reference in New Issue
Block a user