don't bounce tomcat unless needed

found this playbook (it's fab) but it's bouncing tomcat after every run whether or not
something has changed in the config.
pull/63/head
Dick Davies 10 years ago
parent 497e49c965
commit 9c294b4dd7
  1. 2
      tomcat-standalone/roles/tomcat/tasks/main.yml

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