Maciej Kwiek e51ac240c3 Change sudo to become in ansible resources
As we are using ansible 2.0, we should move from sudo to become to avoid
deprecation.

Change-Id: Ia084759b9c38f5c045ab14eab3af63a2ad33069f
Closes-bug: 1547430
2016-02-22 10:05:54 +01:00

12 lines
440 B
YAML

---
# TODO: this shouldn't be outside of the resource directory
- hosts: all
become: yes
tasks:
- script: /vagrant/bootstrap/playbooks/files/ubuntu-ansible.sh
#- include: celery.yaml tags=['master'] celery_dir=/var/run/celery
- include: /vagrant/bootstrap/playbooks/build-main.yaml
- include: /vagrant/bootstrap/playbooks/custom-configs.yaml master_ip={{ master_ip }}
- include: /vagrant/bootstrap/playbooks/celery.yaml tags=slave