Skip to content
This repository has been archived by the owner on Dec 26, 2020. It is now read-only.

Renaming Ansible variables discovered from systems #268

Merged
merged 2 commits into from Mar 27, 2020

Conversation

PovilasGT
Copy link

Renaming ansible variables discovered from systems: Facts to be placed in new namespace ansible_facts.*
According to Ansible documentation system discovered variables have now their own namespace - ansible_facts.* This was introduced in Ansible version 2.5. Variables that are being gathered as facts and written to old main namespace will be deprecated in future releases.
https://docs.ansible.com/ansible/latest/porting_guides/porting_guide_2.5.html#ansible-fact-namespacing
Since the requirements say that we should use Ansible > 2.5, variables should be changed.

Povilas added 2 commits March 24, 2020 16:54
…d in new namespace ansible_facts.*

Signed-off-by: Povilas <pga@tiatechnology.com>
…d in new namespace ansible_facts.*

Signed-off-by: Povilas <pga@tiatechnology.com>
@rndmh3ro
Copy link
Member

Thanks for this @PovilasGT!

If you feel like it, we have some more ansible-roles that'd need this: https://github.com/dev-sec?q=ansible-&type=&language=

If not, totally fine too. :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants