mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2024-12-22 11:00:18 +01:00
Prepare role when service differs from daemon name
- introduce new apache_service in addition to apache_daemon for systems where service name is different from daemon name - replace apache_daemon by apache_service in service status check
This commit is contained in:
parent
1a12e57862
commit
55a5b2d07f
1 changed files with 1 additions and 1 deletions
|
@ -41,6 +41,6 @@
|
||||||
|
|
||||||
- name: Ensure Apache has selected state and enabled on boot.
|
- name: Ensure Apache has selected state and enabled on boot.
|
||||||
service:
|
service:
|
||||||
name: "{{ apache_daemon }}"
|
name: "{{ apache_service }}"
|
||||||
state: "{{ apache_state }}"
|
state: "{{ apache_state }}"
|
||||||
enabled: yes
|
enabled: yes
|
||||||
|
|
Loading…
Reference in a new issue