diff --git a/playbooks/host-reboot.yml b/playbooks/host-reboot.yml index bb10c752fb..1457ae8d25 100644 --- a/playbooks/host-reboot.yml +++ b/playbooks/host-reboot.yml @@ -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