Use ansible_facts[] instead of fact variables
See https://github.com/ansible/ansible/issues/73654 Change-Id: If4aa4ee0d63a046635f7236cf35aa6125133adab
This commit is contained in:
parent
331d8932aa
commit
8a9b9622d5
@ -151,7 +151,7 @@
|
||||
- four
|
||||
- 4
|
||||
test_config_yml_hostvars_overrides:
|
||||
test_hostvar: "{{ ansible_default_ipv4.address }}"
|
||||
test_hostvar: "{{ ansible_facts['default_ipv4']['address'] }}"
|
||||
test_multiline_strs_yml_overrides:
|
||||
new_multiline_str: |
|
||||
This should not
|
||||
@ -252,7 +252,7 @@
|
||||
list_two:
|
||||
- "one"
|
||||
- "two"
|
||||
test_hostvar: "{{ ansible_default_ipv4.address }}"
|
||||
test_hostvar: "{{ ansible_facts['default_ipv4']['address'] }}"
|
||||
changed: {}
|
||||
removed: {}
|
||||
diff_content_no_overrides_json:
|
||||
|
Loading…
Reference in New Issue
Block a user