When I try that, I get the following errors:

fatal: [host1 -> nagios_server] => Authentication failure.
fatal: [host2 -> nagios_server] => Authentication failure.
fatal: [host3 -> nagios_server] => Authentication failure.
changed: [host4 -> nagios_server] => (item=summitauto)
changed: [host5 -> nagios_server] => (item=summitauto)
changed: [host6 -> nagios_server] => (item=summitauto)

That's clearly not what I'm after.  The beginning of the playbook looks 
like this:

- hosts: all
  gather_facts: false
  sudo: yes

 and I run the playbook like this:  ansible-playbook someplaybook.yml 
--tags "nagios_downtime" -u sudoacct

Thanks for your continuing help.

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/b1d3461d-def2-4b1d-bb87-cb2a1af0175b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to