solar/bootstrap/packer.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

13 lines
301 B
YAML

---
- hosts: all
become: yes
tasks:
- shell: wget 'https://dl.bintray.com/mitchellh/packer/packer_0.8.2_linux_amd64.zip' -O /tmp/packer-0.8.2.zip
args:
creates: /tmp/packer-0.8.2.zip
- unarchive:
src: /tmp/packer-0.8.2.zip
dest: /usr/local/bin
copy: no