solar/bootstrap/build-image.yaml
Maciej Kwiek f8f8c0d622 Change sudo to become in bootstrap playbooks
As we are using ansible 2.0, we should move from sudo to become to
avoid deprecation.

Change-Id: I7a99df005dcdcd12e9a2afdeb0c908fe2069cc57
Related-bug: 1547430
2016-02-22 10:17:16 +01:00

9 lines
279 B
YAML

---
- hosts: all
become: yes
tasks:
#- shell: vagrant init ubuntu/trusty64
- shell: /usr/local/bin/packer build -only=qemu solar-master.json -var 'is_master=true'
- shell: /usr/local/bin/packer build -only=virtualbox-iso solar-master.json -var 'is_master=true'