mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix sending facts to Foreman
This commit is contained in:
parent
633263d535
commit
9ad90de4bc
1 changed files with 1 additions and 1 deletions
|
@ -224,7 +224,7 @@ class CallbackModule(CallbackBase):
|
|||
res = result._result
|
||||
module = result._task.action
|
||||
|
||||
if module == 'setup':
|
||||
if module == 'setup' or 'ansible_facts' in res:
|
||||
host = result._host.get_name()
|
||||
self.send_facts(host, res)
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue