From 0cd06a829835b9e5741c3b8df96e4263553b1514 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Wed, 20 Sep 2017 12:59:46 +0300 Subject: [PATCH] ansible.cfg: Add option to always ask become pass Saves having to remember to type -K during normal playbook runs. --- ansible.cfg | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ansible.cfg b/ansible.cfg index 26f448a..1590a41 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -5,5 +5,9 @@ inventory=hosts # instead of using --ask-vault-pass ask_vault_pass=True +[privilege_escalation] +# instead of using -K +become_ask_pass=True + [ssh_connection] pipelining=True