Skip to content

Instantly share code, notes, and snippets.

@mdeneen
Created January 6, 2016 18:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mdeneen/a976025cb495d7833a54 to your computer and use it in GitHub Desktop.
Save mdeneen/a976025cb495d7833a54 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