summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorBrian Coca <brian.coca+git@gmail.com>2015-10-28 02:02:43 -0400
committerBrian Coca <brian.coca+git@gmail.com>2015-10-28 02:06:25 -0400
commitb2fc5142eb65b2d91f4d1ce9aa579bd7e7dd0da6 (patch)
treeef75fbba8ecb660565622e144cc2f2ea519708bb /examples
parent2e05304f668e447bbbe1696d014d0a24d45ceb92 (diff)
downloadansible-b2fc5142eb65b2d91f4d1ce9aa579bd7e7dd0da6.tar.gz
moved sudo -S and -n into configurable flags as they might be absent in much older systems
if password is supplied exsiting -n would get remove from flags
Diffstat (limited to 'examples')
-rw-r--r--examples/ansible.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/ansible.cfg b/examples/ansible.cfg
index 23b8937aaf..cd9a64077a 100644
--- a/examples/ansible.cfg
+++ b/examples/ansible.cfg
@@ -48,7 +48,7 @@ sudo_exe = sudo
# What flags to pass to sudo
# WARNING: leaving out the defaults might create unexpected behaviours
-#sudo_flags = -H -k
+#sudo_flags = -H -S -n
# SSH timeout
timeout = 10