You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
haproxy-wi/app/scripts/ansible/roles/nginx_exporter/tasks/service-systemd.yml

13 lines
268 B

---
- name: systemd service
become: true
template:
src: "nginx_exporter.systemd.j2"
dest: "/lib/systemd/system/nginx_exporter.service"
owner: root
group: root
mode: "u=rw,go=r"
notify:
- reload systemd daemon
- restart nginx_exporter