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.