end play after deleting subscription in AWX
This commit is contained in:
parent
fa43d04ad7
commit
b2f96df1a9
|
@ -304,3 +304,11 @@
|
|||
tower_oauthtoken: "{{ tower_token.stdout }}"
|
||||
validate_certs: yes
|
||||
when: matrix_domain is defined
|
||||
|
||||
- name: Set boolean value to exit playbook
|
||||
set_fact:
|
||||
end_playbook: true
|
||||
|
||||
- name: End playbook if this task list is called.
|
||||
meta: end_play
|
||||
when: end_playbook is defined and end_playbook|bool
|
||||
|
|
Loading…
Reference in a new issue