Reduce usage of becomes for testing

Change-Id: Ic5393ee08d93244f6df988d441a2d9be12e251ec
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2016-03-01 17:46:15 -05:00
parent a265286484
commit f795330bc5
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,6 @@
# under the License.
---
- hosts: test
become: yes
vars:
rolename: "{{ lookup('pipe', 'pwd') | dirname | basename }}"
@ -52,6 +51,7 @@
when: ansible_os_family == 'Debian'
- name: Update apt cache.
become: yes
apt:
update_cache: yes
when: ansible_os_family == 'Debian'