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:
2
web.yml
2
web.yml
@ -4,7 +4,7 @@
|
||||
- name: Configure web servers
|
||||
hosts: web
|
||||
user: provisioning
|
||||
sudo: yes
|
||||
become: yes
|
||||
roles:
|
||||
- { role: common, when: ansible_os_family == 'Debian' }
|
||||
- { role: mariadb, when: ansible_os_family == 'Debian' }
|
||||
|
Reference in New Issue
Block a user