mirror of https://github.com/ansible/ansible.git
fixes #84750
Added tests to verify output when using smart + others
(cherry picked from commit 0d4f00f5c8)
pull/84958/head
parent
0c6bad800e
commit
73189a7a8d
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- gather_facts action, will now add setup when 'smart' appears with other modules in the FACTS_MODULES setting (#84750).
|
||||
@ -0,0 +1,11 @@
|
||||
- hosts: facthost0
|
||||
tasks:
|
||||
- name: ensure we ran custom module AND setup.py/smart
|
||||
assert:
|
||||
that:
|
||||
- >-
|
||||
'factsone' in ansible_facts
|
||||
- >-
|
||||
ansible_facts['factsone'] == "from facts_one module"
|
||||
- >-
|
||||
'os_family' in ansible_facts
|
||||
Loading…
Reference in New Issue