Commit 5b73af9c authored by John Fulton's avatar John Fulton Committed by Dimitri Savineau
Browse files

Set default permission for prometheus config files

Regardless of the outcome of Ansible 2.9.12 issue 71200
we can set a default permission for these files.

Closes: https://github.com/ceph/ceph-ansible/issues/5677

Signed-off-by: default avatarJohn Fulton <fulton@redhat.com>
(cherry picked from commit 95dee6f1)
parent c7f6d157
......@@ -13,6 +13,7 @@
src: prometheus.yml.j2
dest: "{{ prometheus_conf_dir }}/prometheus.yml"
owner: "{{ prometheus_user_id }}"
mode: 0640
notify: service handler
- name: make sure the alerting rules directory exists
......@@ -42,7 +43,8 @@
template:
src: alertmanager.yml.j2
dest: "{{ alertmanager_conf_dir }}/alertmanager.yml"
owner: "root"
owner: "{{ prometheus_user_id }}"
mode: 0640
notify: service handler
- name: include setup_container.yml
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment