Try and fix this stg downtime issue.
This commit is contained in:
parent
2f6fd14d58
commit
682d67a5ad
1 changed files with 7 additions and 0 deletions
|
@ -43,6 +43,13 @@
|
|||
action: nagios action=downtime minutes=30 service=host host={{ inventory_hostname_short }}
|
||||
delegate_to: noc01.phx2.fedoraproject.org
|
||||
ignore_errors: true
|
||||
when: not ansible_domain.startswith('stg')
|
||||
|
||||
- name: schedule host downtime
|
||||
action: nagios action=downtime minutes=30 service=host host={{ inventory_hostname_short }}.stg
|
||||
delegate_to: noc01.phx2.fedoraproject.org
|
||||
ignore_errors: true
|
||||
when: ansible_domain.startswith('stg')
|
||||
|
||||
- name: halt the instances - to poweroff
|
||||
action: command /sbin/halt -p
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue