Issue #7322
closedpulp_installer should support INJECT_FACTS_AS_VARS=False
Description
The ansible controller I use has INJECT_FACTS_AS_VARS=False
[1], but right now, pulp_installer relies on this setting being True.
Please use the vars under ansible_facts.
instead of relying on the top-level ansible_
namespaced vars.
For example, use ansible_facts.distribution
instead of ansible_distribution
.
[1] https://docs.ansible.com/ansible/latest/reference_appendices/config.html#inject-facts-as-vars
Added by Jacob Floyd about 4 years ago
Added by Jacob Floyd about 4 years ago
Revision 7f6f0af3 | View on GitHub
Get facts from ansible_facts
fixes #7322 https://pulp.plan.io/issues/7322
This is important to support ansible controllers that have INJECT_FACTS_AS_VARS=False[1].
[1] https://docs.ansible.com/ansible/latest/reference_appendices/config.html#inject-facts-as-vars
Updated by Anonymous almost 4 years ago
- Status changed from NEW to MODIFIED
Applied in changeset ansible-pulp|7f6f0af39a23d96c3105f1b1f2d77620f5be19e9.
Updated by ttereshc almost 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Get facts from ansible_facts
fixes #7322 https://pulp.plan.io/issues/7322
This is important to support ansible controllers that have INJECT_FACTS_AS_VARS=False[1].
[1] https://docs.ansible.com/ansible/latest/reference_appendices/config.html#inject-facts-as-vars