diff --git a/workstation.yml b/workstation.yml index 038b9f7476585c48bf5ed54973a4c0891783da13..b9351a170674c8fc1f10275d9196d45a46a0b269 100644 --- a/workstation.yml +++ b/workstation.yml @@ -21,6 +21,7 @@ that: - ansible_pkg_mgr == 'apt' - ansible_service_mgr == 'systemd' + - ansible_architecture == 'x86_64' - name: APT install with_items: @@ -151,3 +152,19 @@ command: lein register: install_leiningen changed_when: "'Downloading Leiningen' in install_leiningen.stdout" + + - name: Download Packer zip + get_url: + url: https://releases.hashicorp.com/packer/1.0.2/packer_1.0.2_linux_amd64.zip + dest: /root/packer.zip + owner: root + group: root + mode: 0o0644 + + - name: Unarchive Packer zip + unarchive: + src: /root/packer.zip + dest: /usr/local/bin/ + remote_src: True + owner: root + group: root