mirror of
https://gitlab.com/s3lph/ansible-collection-prometheus
synced 2024-11-23 02:01:10 +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
|
state: directory
|
||||||
owner: "{{ prometheus_node_user }}"
|
owner: "{{ prometheus_node_user }}"
|
||||||
group: "{{ prometheus_node_group }}"
|
group: "{{ prometheus_node_group }}"
|
||||||
mode: 0750
|
mode: 0755
|
||||||
|
|
||||||
- name: render /etc/prometheus/node-exporter/tls/config.yml
|
- name: render /etc/prometheus/node-exporter/tls/config.yml
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
dest: /etc/prometheus/node-exporter/tls/config.yml
|
dest: /etc/prometheus/node-exporter/tls/config.yml
|
||||||
owner: "{{ prometheus_node_user }}"
|
owner: "{{ prometheus_node_user }}"
|
||||||
group: "{{ prometheus_node_group }}"
|
group: "{{ prometheus_node_group }}"
|
||||||
mode: 0640
|
mode: 0644
|
||||||
notify: restart prometheus-node-exporter
|
notify: restart prometheus-node-exporter
|
||||||
|
|
||||||
- name: render /etc/default/prometheus-node-exporter
|
- name: render /etc/default/prometheus-node-exporter
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
dest: /etc/default/prometheus-node-exporter
|
dest: /etc/default/prometheus-node-exporter
|
||||||
owner: root
|
owner: root
|
||||||
group: "{{ prometheus_node_group }}"
|
group: "{{ prometheus_node_group }}"
|
||||||
mode: 0640
|
mode: 0644
|
||||||
vars:
|
vars:
|
||||||
args: "{{ prometheus_node_exporter_args }}"
|
args: "{{ prometheus_node_exporter_args }}"
|
||||||
when: "ansible_distribution == 'Debian'"
|
when: "ansible_distribution == 'Debian'"
|
||||||
|
|
Loading…
Reference in a new issue