Commit 03b0991d authored by Wágner Ferenc's avatar Wágner Ferenc
Browse files

Fix inconsistent key file permissions

parent f05ca217
apache_certificate_stem: listserv_niif_hu
apache_certificate_key_group: Debian-exim
apache_certificate_key_mode: 0640
......@@ -37,8 +37,8 @@
file:
dest: /etc/apache2/{{ apache_certificate_stem }}.key
owner: root
group: Debian-exim
mode: 0640
group: "{{ apache_certificate_key_group }}"
mode: "{{ apache_certificate_key_mode }}"
when: vault_open is not defined and apache_certificate_key.stat.exists
notify: Reload Apache
......@@ -48,8 +48,8 @@
src: "{{ apache_certificate_stem }}.key"
dest: /etc/apache2/{{ apache_certificate_stem }}.key
owner: root
group: root
mode: 0600
group: "{{ apache_certificate_key_group }}"
mode: "{{ apache_certificate_key_mode }}"
when: vault_open is defined
notify: Reload Apache
......
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