Merge pull request #67 from CorwinTanner/patch-1
Fixed "no service named nginx" chkconfig error.
This commit is contained in:
commit
5cad45126e
@ -45,7 +45,7 @@ nginx-old-init-disable:
|
|||||||
- name: {{ nginx.old_init_disable }}
|
- name: {{ nginx.old_init_disable }}
|
||||||
- require{{ _in }}:
|
- require{{ _in }}:
|
||||||
- module: nginx-old-init
|
- module: nginx-old-init
|
||||||
- unless: [ ! -f /etc/init.d/nginx ]
|
- onlyif: [ -f /etc/init.d/nginx ]
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if grains.get('os_family') == 'Debian' %}
|
{% if grains.get('os_family') == 'Debian' %}
|
||||||
|
Loading…
Reference in New Issue
Block a user