Project

Profile

Help

Issue #7322

pulp_installer should support INJECT_FACTS_AS_VARS=False

Added by cognifloyd 12 months ago. Updated 10 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
-
Category:
Installer
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

Associated revisions

Revision 7f6f0af3 View on GitHub
Added by Jacob Floyd 12 months ago

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

Revision 7f6f0af3 View on GitHub
Added by Jacob Floyd 12 months ago

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

History

#1 Updated by Anonymous 12 months ago

  • Status changed from NEW to MODIFIED

#2 Updated by ttereshc 10 months ago

  • Sprint/Milestone set to 3.8.0

#3 Updated by ttereshc 10 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF