Actions
Issue #7322
closedpulp_installer should support INJECT_FACTS_AS_VARS=False
Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
-
Category:
Installer - Moved to GitHub issues
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
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
Actions
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