inventory: change how iad domain is constructed.

We can't use things that are not in the facts cache for this.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2022-05-15 11:01:42 -07:00
parent 6d19254a96
commit 9f5cc4eb8b

View file

@ -2,7 +2,7 @@ plugin: constructed
strict: False
compose:
groups:
iad2: datacenter == 'iad2'
iad2: ansible_domain = 'iad2.fedoraproject.org'
keyed_groups:
- prefix: distro
key: ansible_distribution