Skip to content

Instantly share code, notes, and snippets.

@mdeneen
Created January 6, 2016 18:25
Show Gist options
  • Save mdeneen/554d7923aed9f644d509 to your computer and use it in GitHub Desktop.
Save mdeneen/554d7923aed9f644d509 to your computer and use it in GitHub Desktop.
download-tomcat:
cmd.run:
- name: curl http://mirrors.advancedhosters.com/apache/tomcat/tomcat-8/v8.0.30/bin/apache-tomcat-8.0.30.tar.gz > tomcat.tar.gz
- cwd: /home/tomcat
- user: tomcat
- unless: test -f "/tomcat.tar.gz"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment