Project

Profile

Help

Issue #7322

closed

pulp_installer should support INJECT_FACTS_AS_VARS=False

Added by cognifloyd over 4 years ago. Updated about 4 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

Also available in: Atom PDF