Merge pull request #95 from andyfeller/restart_apache_reload

Enhance apache restart handler to allow optional reloading
This commit is contained in:
Jeff Geerling 2016-12-09 09:03:08 -06:00 committed by GitHub
commit 8ba84dd848
2 changed files with 4 additions and 1 deletions

View file

@ -48,3 +48,6 @@ apache_mods_disabled: []
# Set initial apache state. Recommended values: `started` or `stopped`
apache_state: started
# Set apache state when configuration changes are made. Recommended values: `restarted` or `reloaded`
apache_restart_state: restarted

View file

@ -2,4 +2,4 @@
- name: restart apache
service:
name: "{{ apache_service }}"
state: restarted
state: "{{ apache_restart_state }}"