Replace sudo with become
The sudo syntax is deprecated.
This commit is contained in:
parent
ce8998d43d
commit
d86563528d
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- hosts: all
|
- hosts: all
|
||||||
sudo: true
|
become: true
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- name: Ensure /var/www/html exists
|
- name: Ensure /var/www/html exists
|
||||||
file:
|
file:
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- hosts: all
|
- hosts: all
|
||||||
sudo: true
|
become: true
|
||||||
vars:
|
vars:
|
||||||
samba_netbios_name: SAMBA_TEST
|
samba_netbios_name: SAMBA_TEST
|
||||||
roles:
|
roles:
|
||||||
|
Loading…
Reference in New Issue
Block a user