Skip to content

Instantly share code, notes, and snippets.

@jreyes33
Last active April 22, 2019 17:55
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jreyes33/52009ea46b61512be7d376f1289216ab to your computer and use it in GitHub Desktop.
Save jreyes33/52009ea46b61512be7d376f1289216ab to your computer and use it in GitHub Desktop.
Install Postman with Ansible on Linux
# …
tasks:
- name: Inspect postman file
stat: path=~/bin/Postman/Postman
register: postman_file
- name: Install postman
when: not postman_file.stat.exists
unarchive:
remote_src: yes
src: https://dl.pstmn.io/download/latest/linux64
dest: ~/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment