From 3ca2b503073924c6b9066b08e614f76b0db4cbd2 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 9 Sep 2024 17:40:18 +0100 Subject: [PATCH] Fix ansible config for privilege escalation --- ansible/ansible.cfg | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ansible/ansible.cfg b/ansible/ansible.cfg index 4e5a3b8..d932752 100644 --- a/ansible/ansible.cfg +++ b/ansible/ansible.cfg @@ -5,9 +5,11 @@ retry_files_enabled = False roles_path = $PWD/galaxy_roles:$PWD/roles collections_path = $PWD/galaxy_collections inventory = ./hosts +interpreter_python = auto_silent + +[privilege_escalation] become = True become_ask_pass = True -interpreter_python = auto_silent [ssh_connection] pipelining = True