No deletion/creation of tomcat home.

The user module doesn't have to create it with this option.
pull/63/head
Joseph Price 9 years ago
parent 4913654ab5
commit fbeecfb0dc
  1. 6
      tomcat-standalone/roles/tomcat/tasks/main.yml

@ -6,11 +6,7 @@
group: name=tomcat
- name: add user "tomcat"
user: name=tomcat group=tomcat home=/usr/share/tomcat
sudo: True
- name: delete home dir for symlink of tomcat
shell: rm -fr /usr/share/tomcat
user: name=tomcat group=tomcat home=/usr/share/tomcat createhome=no
sudo: True
- name: Download Tomcat