fix permissions for ssl
This commit is contained in:
parent
160aba61c1
commit
33194a5207
@ -10,10 +10,7 @@
|
||||
with_items:
|
||||
- "{{ mosquitto_tls_cert_path | dirname }}"
|
||||
- "{{ mosquitto_tls_key_path | dirname }}"
|
||||
become: True
|
||||
become_user: root
|
||||
|
||||
- block:
|
||||
- name: Copy certs and private key (file)
|
||||
copy:
|
||||
src: "{{ item.src }}"
|
||||
@ -38,4 +35,4 @@
|
||||
label: "{{ item.dest }}"
|
||||
when: mosquitto_tls_source_use_content
|
||||
become: True
|
||||
become_user: "{{ mosquitto_user }}"
|
||||
become_user: root
|
||||
|
Loading…
Reference in New Issue
Block a user