Project

Profile

Help

Issue #7322

closed

pulp_installer should support INJECT_FACTS_AS_VARS=False

Added by cognifloyd over 3 years ago. Updated over 3 years ago.

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

Added by Jacob Floyd over 3 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

Added by Jacob Floyd over 3 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

Actions #1

Updated by Anonymous over 3 years ago

  • Status changed from NEW to MODIFIED
Actions #2

Updated by ttereshc over 3 years ago

  • Sprint/Milestone set to 3.8.0
Actions #3

Updated by ttereshc over 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF