fix: fix cert files ownership
continuous-integration/drone/push Build is passing Details

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
1 changed files with 2 additions and 4 deletions

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 }}"