try out ansible_hostname
This commit is contained in:
parent
fb490e6091
commit
513804a53b
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
|||
register: needsreboot
|
||||
|
||||
- name: tell nagios to shush
|
||||
action: nagios action=downtime host=${inventory_hostname} minutes=30 service=all
|
||||
action: nagios action=downtime host=${ansible_hostname} minutes=30 service=all
|
||||
delegate_to: noc01.phx2.fedoraproject.org
|
||||
|
||||
- name: reboot the host
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue