1
0
Fork 0
mirror of https://gitlab.com/s3lph/ansible-collection-prometheus synced 2024-11-22 17:51:01 +01:00

Fix permissions

This commit is contained in:
s3lph 2021-11-03 11:07:12 +01:00
parent 0f87c792a2
commit d64ad9797a

View file

@ -6,7 +6,7 @@
state: directory
owner: "{{ prometheus_node_user }}"
group: "{{ prometheus_node_group }}"
mode: 0750
mode: 0755
- name: render /etc/prometheus/node-exporter/tls/config.yml
ansible.builtin.template:
@ -14,7 +14,7 @@
dest: /etc/prometheus/node-exporter/tls/config.yml
owner: "{{ prometheus_node_user }}"
group: "{{ prometheus_node_group }}"
mode: 0640
mode: 0644
notify: restart prometheus-node-exporter
- name: render /etc/default/prometheus-node-exporter
@ -23,7 +23,7 @@
dest: /etc/default/prometheus-node-exporter
owner: root
group: "{{ prometheus_node_group }}"
mode: 0640
mode: 0644
vars:
args: "{{ prometheus_node_exporter_args }}"
when: "ansible_distribution == 'Debian'"