changing start tomcat from started to restarted

A detailed discussion of the issue can be found on this thread. 

https://groups.google.com/forum/#!msg/ansible-project/0WK4J8sefZs/YtuT_1v5xCQJ
pull/63/head
Morgan Bickle 11 years ago
parent 1bfec9f93f
commit 8d8e7c30a2
  1. 2
      tomcat-standalone/roles/tomcat/tasks/main.yml

@ -32,7 +32,7 @@
copy: src=tomcat-initscript.sh dest=/etc/init.d/tomcat mode=0755
- name: Start Tomcat
service: name=tomcat state=started enabled=yes
service: name=tomcat state=restarted enabled=yes
- name: deploy iptables rules
template: src=iptables-save dest=/etc/sysconfig/iptables