Sorry I'm asking Ansible 101 questions, but my play isn't working:

  tasks:
    - nagios: action=downtime minutes=5 author="My Name" service=all 
host={{item}}
      with_items: "{{ listofhosts }}"
      listofhosts:
         - summitauto
      delegate_to: nagios_server
      tags:
         - nagios_downtime

I guess I don't know where to put my list.  Also not sure if "author" 
belongs where I have it.
On Monday, September 14, 2015 at 12:40:29 PM UTC-4, Dimitri Yioulos wrote:
>
> I'd like to set downtime in Nagios for several hosts at once using the 
> Nagios module.  How do I specify those several hosts?
>
> - nagios: action=downtime minutes=30 service=all host=?
>
>
> Many thanks.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/ba8c9dfd-e64d-4ab3-a33d-e6951e41a4f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to