summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ansible.cfg1
-rw-r--r--common.yml1
2 files changed, 1 insertions, 1 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
diff --git a/common.yml b/common.yml
index 9720dba..2c555f9 100644
--- a/common.yml
+++ b/common.yml
@@ -1,8 +1,7 @@
---
- name: Common tasks
hosts: all
- sudo: True
vars_files:
- vars.yml
roles:
- common