web.yml: sudo -> become for Ansible 2.0
Some language changed in Ansible 2.0. Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
parent
2da8876caa
commit
ee0621fc20
2
web.yml
2
web.yml
@ -4,7 +4,7 @@
|
|||||||
- name: Configure web servers
|
- name: Configure web servers
|
||||||
hosts: web
|
hosts: web
|
||||||
user: provisioning
|
user: provisioning
|
||||||
sudo: yes
|
become: yes
|
||||||
roles:
|
roles:
|
||||||
- { role: common, when: ansible_os_family == 'Debian' }
|
- { role: common, when: ansible_os_family == 'Debian' }
|
||||||
- { role: mariadb, when: ansible_os_family == 'Debian' }
|
- { role: mariadb, when: ansible_os_family == 'Debian' }
|
||||||
|
Loading…
Reference in New Issue
Block a user