summaryrefslogtreecommitdiffstats
path: root/ansible.cfg
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2013-11-26 23:50:36 +0100
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:50:56 +0200
commita03f59d589e65366fb0194534cb6aa2a36176bc4 (patch)
tree1e82a6e049c4b07023b3cf3307d88b99889b7254 /ansible.cfg
parentddbd54a44814fb81cd27e21edbdc0e9a90f03d91 (diff)
Tell ansible we generally want to use sudo(8).
I.e., put 'sudo=True' in ansible.cfg.
Diffstat (limited to 'ansible.cfg')
-rw-r--r--ansible.cfg1
1 files changed, 1 insertions, 0 deletions
diff --git a/ansible.cfg b/ansible.cfg
index 524103e..6afc1ef 100644
--- a/ansible.cfg
+++ b/ansible.cfg
@@ -27,40 +27,41 @@ pattern = *
# the default number of forks (parallelism) to be used. Usually you
# can crank this up.
forks=5
# the timeout used by various connection types. Usually this corresponds
# to an SSH timeout
timeout=10
# when using --poll or "poll:" in an ansible playbook, and not specifying
# an explicit poll interval, use this interval
poll_interval=15
# when specifying --sudo to /usr/bin/ansible or "sudo:" in a playbook,
# and not specifying "--sudo-user" or "sudo_user" respectively, sudo
# to this user account
+sudo=True
#sudo_user=root
# the following forces ansible to always ask for the sudo password (instead of having
# to add -K to the commandline). Or you can use the environment variable (ANSIBLE_ASK_SUDO_PASS)
ask_sudo_pass=True
# the following forces ansible to always ask for the ssh-password (-k)
# can also be set by the environment variable ANSIBLE_ASK_PASS
#ask_pass=True
# connection to use when -c <connection_type> is not specified
transport=ssh
# remote SSH port to be used when --port or "port:" or an equivalent inventory
# variable is not specified.
remote_port=22