ansible/roles/prometheus/tasks/nginx.yaml

10 lines
185 B
YAML

---
- name: configure nginx
template:
src: nginx.conf.j2
dest: "{{ nginx_conf_d_path }}/prometheus.conf"
owner: root
group: root
mode: 0444
notify: reload nginx