Reduce usage of becomes for testing
Change-Id: Ic5393ee08d93244f6df988d441a2d9be12e251ec Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
a265286484
commit
f795330bc5
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user