We don't have access to facts like ansible_fqdn at this point.
This commit is contained in:
parent
c41f3c4b59
commit
d9b491c892
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ def invert_fedmsg_policy(hosts, vars):
|
||||||
for host in hosts:
|
for host in hosts:
|
||||||
prefix = '.'.join([vars[host]['fedmsg_prefix'],
|
prefix = '.'.join([vars[host]['fedmsg_prefix'],
|
||||||
vars[host]['fedmsg_env']])
|
vars[host]['fedmsg_env']])
|
||||||
fqdn = vars[host].get('fedmsg_fqdn', vars[host]['ansible_fqdn'])
|
fqdn = vars[host].get('fedmsg_fqdn', host)
|
||||||
|
|
||||||
for cert in vars[host]['fedmsg_certs']:
|
for cert in vars[host]['fedmsg_certs']:
|
||||||
for topic in cert.get('can_send', []):
|
for topic in cert.get('can_send', []):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue