Our playbooks set facts similar to
- name: illustrate problem
set_fact:
monitoringServer: "{{ groups.nagios.0 }}"
In 1.9.x that would evaluate to the first server in the nagios group in
inventory
In 2.0, groups doesn't contain a value for nagios, or any other inventory
group. It only contains "all" and "ungrouped", both of which contain
localhost.
--
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/45528151-b8b3-43eb-ab76-012e609acad0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.