On 12. okt. 2017 21:39, Douglas Duckworth wrote:
*Top-level nodes.yml:*

---
- hosts: "{{ hosts }}"
  roles:
- { role: lsssd, when: inventory_hostname not in (groups['edisonnodes']|union(groups['pugnodes_old'])) }
    - nodes
   user: root
   gather_facts: True


<snip />


I have tried various changes but nothing seems to work.
Have you tried

roles:
  - role: lsssd
when: inventory_hostname not in (groups['edisonnodes']|union(groups['pugnodes_old']))


--
Kai Stian Olstad

--
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/174f49a3-352d-1bac-2b8b-9038acf7b592%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to