mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2024-11-08 23:13:29 +01:00
Merge pull request #95 from andyfeller/restart_apache_reload
Enhance apache restart handler to allow optional reloading
This commit is contained in:
commit
8ba84dd848
2 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
- name: restart apache
|
||||
service:
|
||||
name: "{{ apache_service }}"
|
||||
state: restarted
|
||||
state: "{{ apache_restart_state }}"
|
||||
|
|
Loading…
Reference in a new issue