mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-26 10:57:21 +00:00
activate changes after teardown
This commit is contained in:
1 parent
6164d92c5c
commit
0d760b680c
1 file changed
+5
@@ -17,6 +17,7 @@
|
|||||||
state: "{{ state }}" # might need to create hosts them move so teardown works??? or leave folder after teardown or add only teardown task after
|
state: "{{ state }}" # might need to create hosts them move so teardown works??? or leave folder after teardown or add only teardown task after
|
||||||
run_once: true
|
run_once: true
|
||||||
delegate_to: "localhost"
|
delegate_to: "localhost"
|
||||||
|
notify: "activate changes"
|
||||||
tags:
|
tags:
|
||||||
- checkmk_folder
|
- checkmk_folder
|
||||||
- checkmk_host
|
- checkmk_host
|
||||||
@@ -59,6 +60,9 @@
|
|||||||
when: project_zone == 'protected'
|
when: project_zone == 'protected'
|
||||||
tags: checkmk_proxy
|
tags: checkmk_proxy
|
||||||
|
|
||||||
|
- name: Flush handlers
|
||||||
|
meta: flush_handlers
|
||||||
|
|
||||||
- name: Create downtimes for new VMs
|
- name: Create downtimes for new VMs
|
||||||
block:
|
block:
|
||||||
- name: "Schedule downtime on Windows VMs to cover deployment"
|
- name: "Schedule downtime on Windows VMs to cover deployment"
|
||||||
@@ -91,6 +95,7 @@
|
|||||||
hours: 3
|
hours: 3
|
||||||
delegate_to: "localhost"
|
delegate_to: "localhost"
|
||||||
run_once: true
|
run_once: true
|
||||||
|
when: project_zone == 'protected'
|
||||||
tags: checkmk_downtime
|
tags: checkmk_downtime
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
|
|||||||
Reference in new issue
Block a user