Commit 181924db authored by Alex Schultz's avatar Alex Schultz Committed by Guillaume Abrioux
Browse files

Disable facts by default in ansible.cfg

As a continuation of a7f2fa73

, this
change switches fact injection to off by default in the provided
Signed-off-by: default avatarAlex Schultz <>
(cherry picked from commit db031a49)
parent 56aac327
......@@ -22,6 +22,7 @@ nocows = 1
callback_whitelist = profile_tasks
stdout_callback = yaml
force_valid_group_names = ignore
inject_facts_as_vars = False
# Disable them in the context of
retry_files_enabled = False
......@@ -19,6 +19,16 @@
discovered_interpreter_python: "{{ ansible_python_interpreter }}"
when: ansible_python_interpreter is defined
# If ansible_python_interpreter is not defined, this can result in the
# discovered_interpreter_python fact from being set. This fails later in this
# playbook and is used elsewhere.
- name: set_fact discovered_interpreter_python if not previously set
discovered_interpreter_python: "{{ ansible_facts['discovered_interpreter_python'] }}"
- discovered_interpreter_python is not defined
- ansible_facts['discovered_interpreter_python'] is defined
# Set ceph_release to ceph_stable by default
- name: set_fact ceph_release ceph_stable_release
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment