Try and fix this stg downtime issue.

This commit is contained in:
Kevin Fenzi 2013-11-21 20:19:48 +00:00
parent 2f6fd14d58
commit 682d67a5ad

View file

@ -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