Fixed "no service named nginx" chkconfig error.susefix
- 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' %} |