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