From a03f59d589e65366fb0194534cb6aa2a36176bc4 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Tue, 26 Nov 2013 23:50:36 +0100 Subject: Tell ansible we generally want to use sudo(8). I.e., put 'sudo=True' in ansible.cfg. --- ansible.cfg | 1 + common.yml | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) 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 diff --git a/common.yml b/common.yml index 9720dba..2c555f9 100644 --- a/common.yml +++ b/common.yml @@ -1,7 +1,6 @@ --- - name: Common tasks hosts: all - sudo: True vars_files: - vars.yml roles: -- cgit v1.2.3