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