Scope redhat vars to EL7 specifically
The "redhat.yml" vars file breaks when the role is included using include_role, since the upstream roles have "redhat-7.yml" vars that are scoped to EL7 specifically. Since we use with_first_found to load the vars files, ansible is walking its way up the included paths tree on each iteration before using the more generalized fallback. This causes for ex. os_glance/vars/redhat-7.yml to be loaded in ceph_client instead of ceph_client/vars/redhat.yml. By using specific EL7 scoping in ceph_client as we do in the upstream roles, we can ensure that ceph_client's vars file will be the one loaded using with_first_found. Change-Id: Ie32746f726091c31042ec4d3d03d2168c43c2918
This commit is contained in:
parent
71b9e924d7
commit
0c6439dc09
Loading…
Reference in New Issue