Merge "Add releasenote for ANSIBLE_INJECT_FACT_VARS defaulting to false"
This commit is contained in:
commit
d09dfbbae0
15
releasenotes/notes/disable-fact-vars-d792e90de7d79851.yaml
Normal file
15
releasenotes/notes/disable-fact-vars-d792e90de7d79851.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
Automatic generation of ``ansible_<variable>`` fact vars is now disabled
|
||||
when using the ``openstack-ansible`` command. There is now less data to
|
||||
pass to the target hosts when executing ansible modules. The same values
|
||||
are now accessed as follows: ``ansible_facts['variable']``
|
||||
upgrade:
|
||||
- |
|
||||
Any external or 3rd party integrations with openstack-ansible that use
|
||||
the ``openstack-ansible`` command line wrapper around ``ansible-playbook``
|
||||
and access ansible facts via the ``ansible_<variable>`` pattern must be
|
||||
refactored to access those variables as follows: ``ansible_facts['variable']``.
|
||||
If this is not possible, the environment variable ``ANSIBLE_INJECT_FACT_VARS``
|
||||
can be set to ``True`` to restore the previous behaviour.
|
Loading…
Reference in New Issue
Block a user