Permalink
Browse files

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.
  • Loading branch information...
rasputnik committed Mar 10, 2014
1 parent 497e49c commit 9c294b4dd7cff70f8cf9cc05a488b7ffec9f68e5
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 9c294b4

Please sign in to comment.