fix: fix cert files ownership
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2021-06-03 23:19:35 +02:00
parent 64beb74668
commit 3ca53211b4
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -13,17 +13,15 @@
copy:
src: "{{ item.src }}"
dest: "{{ item.dest }}"
owner: telegraf
group: root
mode: "{{ item.mode }}"
loop:
- src: "{{ telegraf_prometheus_tls_key_source }}"
dest: "{{ telegraf_prometheus_tls_key_path }}"
owner: telegraf
group: root
mode: "0600"
- src: "{{ telegraf_prometheus_tls_cert_source }}"
dest: "{{ telegraf_prometheus_tls_cert_path }}"
owner: telegraf
group: root
mode: "0750"
loop_control:
label: "{{ item.dest }}"