'play_hosts' doesn't work because the 'icinga2-ansible-add-hosts' role is 
only applied to "{{ hosts | default('monitoring_servers') }}"

What I'm trying to get is the list of hosts that 
- hosts: all
  gather_facts: yes
runs against, which is not all of the hosts in my inventory.

On Tuesday, November 22, 2016 at 3:42:45 PM UTC-8, Brian Coca wrote:
>
> ​try the 'play_hosts' variable.​
>
>
> ----------
> Brian Coca
>

-- 
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/076246bf-e600-40b9-a2d1-cd011d7e424f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to