diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2013-11-26 23:50:36 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2015-06-07 02:50:56 +0200 |
commit | a03f59d589e65366fb0194534cb6aa2a36176bc4 (patch) | |
tree | 1e82a6e049c4b07023b3cf3307d88b99889b7254 | |
parent | ddbd54a44814fb81cd27e21edbdc0e9a90f03d91 (diff) |
Tell ansible we generally want to use sudo(8).
I.e., put 'sudo=True' in ansible.cfg.
-rw-r--r-- | ansible.cfg | 1 | ||||
-rw-r--r-- | common.yml | 1 |
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 @@ -44,6 +44,7 @@ poll_interval=15 # 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 @@ -1,7 +1,6 @@ --- - name: Common tasks hosts: all - sudo: True vars_files: - vars.yml roles: |