Add a playbook just for shushing fmn/nagios.
This commit is contained in:
parent
f67113fbdf
commit
a88e0771b3
1 changed files with 13 additions and 0 deletions
13
playbooks/manual/nagios/shush-fmn.yml
Normal file
13
playbooks/manual/nagios/shush-fmn.yml
Normal file
|
@ -0,0 +1,13 @@
|
|||
- name: be quiet please...
|
||||
hosts: notifs-backend;notifs-backend-stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
- "/srv/private/ansible/vars.yml"
|
||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||
|
||||
tasks:
|
||||
- name: tell nagios to shush.
|
||||
nagios: action=downtime minutes=15 service=host host={{ inventory_hostname_short }}{{ env_suffix }}
|
||||
delegate_to: noc01.phx2.fedoraproject.org
|
||||
ignore_errors: true
|
Loading…
Add table
Add a link
Reference in a new issue