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:
Alan Orth 2016-01-12 22:55:58 +02:00
parent 2da8876caa
commit ee0621fc20
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -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' }