From 12287e3e231d87a22ec2c5606d26055d307b91b6 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 23 Dec 2019 22:58:34 +0000 Subject: [PATCH] ansible server: set interpreter_python to auto instead of auto_legacy (default) This will cause ansible command line to also detect things the way our playbooks do. ie, prefer python3 Signed-off-by: Kevin Fenzi --- roles/ansible-server/templates/ansible.cfg.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/ansible-server/templates/ansible.cfg.j2 b/roles/ansible-server/templates/ansible.cfg.j2 index 3b5fabbbb1..8b6b6a9d30 100644 --- a/roles/ansible-server/templates/ansible.cfg.j2 +++ b/roles/ansible-server/templates/ansible.cfg.j2 @@ -29,6 +29,8 @@ forks = 150 #module_lang = C #module_set_locale = False +interpreter_python = auto + # plays will gather facts by default, which contain information about # the remote system. #