Skip to content

Instantly share code, notes, and snippets.

@hygl
Created January 16, 2017 14:24
Show Gist options
  • Save hygl/b0176f7eb9dd63d9b20381bb4679c43c to your computer and use it in GitHub Desktop.
Save hygl/b0176f7eb9dd63d9b20381bb4679c43c to your computer and use it in GitHub Desktop.
ansible failed
- name: download nomad
get_url:
url: "https://releases.hashicorp.com/nomad/0.5.2/nomad_0.5.2_linux_amd64.zip"
dest: /tmp/nomad.zip
- name: unzip nomad
unarchive:
src: /tmp/nomad.zip
dest: /usr/local/bin
remote_src: yes
TASK [unzip nomad] *************************************************************
fatal: [default]: FAILED! => {"failed": true, "msg": "file or module does not exist: /tmp/nomad.zip"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment