
As we are using ansible 2.0, we should move from sudo to become to avoid deprecation. Change-Id: Ia084759b9c38f5c045ab14eab3af63a2ad33069f Closes-bug: 1547430
12 lines
440 B
YAML
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
|