haproxy-wi/app/scripts/ansible/roles/nginx_exporter/tasks/service-sysvinit.yml

12 lines
228 B
YAML

---
- name: sysvinit service
become: true
template:
src: "nginx_exporter.sysvinit.j2"
dest: "/etc/init.d/nginx_exporter"
owner: root
group: root
mode: "u=rwx,go=rx"
notify:
- restart nginx_exporter