Replace sudo with become

The sudo syntax is deprecated.
This commit is contained in:
Ian Young 2016-05-11 22:01:54 -05:00
parent ce8998d43d
commit d86563528d
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
---
- hosts: all
sudo: true
become: true
pre_tasks:
- name: Ensure /var/www/html exists
file:

View File

@ -1,6 +1,6 @@
---
- hosts: all
sudo: true
become: true
vars:
samba_netbios_name: SAMBA_TEST
roles: