try out ansible_hostname

This commit is contained in:
Seth Vidal 2012-12-12 21:40:25 +00:00
parent fb490e6091
commit 513804a53b

View file

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