mirror of
https://gitlab.com/s3lph/ansible-collection-prometheus
synced 2024-12-23 00:37:33 +01:00
Fix permissions
This commit is contained in:
parent
0f87c792a2
commit
d64ad9797a
1 changed files with 3 additions and 3 deletions
|
@ -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'"
|
||||
|
|
Loading…
Reference in a new issue