Skip to content

Commit

Permalink
Added draft playbook for 3 steps in ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
directdevops committed Dec 26, 2020
1 parent a8f0392 commit 23aa669
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Dec20/AdvancedScenarios/tomcat/tomcat_ubuntu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,16 @@
shell: /bin/false
state: present
when: ansible_facts['distribution'] == "Ubuntu"
- name: download tomcat
get_url:
url: "http://www-us.apache.org/dist/tomcat/tomcat-8/v8.5.37/bin/apache-tomcat-8.5.37.zip"
dest: "/tmp/apache-tomcat-8.5.37.zip"
when: ansible_facts['distribution'] == "Ubuntu"
- name: extract tomcat
unarchive:
src: "/tmp/apache-tomcat-8.5.37.zip"
dest: "/opt/tomcat"
when: ansible_facts['distribution'] == "Ubuntu"



0 comments on commit 23aa669

Please sign in to comment.