![Maciej Kwiek](/assets/img/avatar_default.png)
As we are using ansible 2.0, we should move from sudo to become to avoid deprecation. Change-Id: I7a99df005dcdcd12e9a2afdeb0c908fe2069cc57 Related-bug: 1547430
13 lines
301 B
YAML
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
|