Commit 0ed7e821 authored by Reimar Unger's avatar Reimar Unger
Browse files

Fix session with Martin

parent 0786e82f
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
- name: "install SSL private key" - name: "install SSL private key"
ansible.builtin.copy: ansible.builtin.copy:
src: "{{ www_ssl_priv_key }}" src: "{{ www_ssl_priv_key }}"
dst: "{{ '%s/ssl/private/%s' | format(system_config_directory, www_ssl_priv_key) }}" dst: "{{ www_ssl_priv_key_dest_path }}"
mode: 0640 mode: 0640
owner: "{{ _stat_sslprivdir.stat.pw_name }}" owner: "{{ _stat_sslprivdir.stat.pw_name }}"
group: "{{ _stat_sslprivdir.stat.gr_name }}" group: "{{ _stat_sslprivdir.stat.gr_name }}"
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
- name: "install SSL certificate" - name: "install SSL certificate"
ansible.builtin.copy: ansible.builtin.copy:
src: "{{ www_ssl_cert }}" src: "{{ www_ssl_cert }}"
dst: "{{ '%s/ssl/certs/%s' | format(system_config_directory, www_ssl_cert) }}" dst: "{{ www_ssl_cert_dest_path }}"
mode: 0644 mode: 0644
owner: "{{ _stat_sslcertdir.stat.pw_name }}" owner: "{{ _stat_sslcertdir.stat.pw_name }}"
group: "{{ _stat_sslcertdir.stat.gr_name }}" group: "{{ _stat_sslcertdir.stat.gr_name }}"
......
--- ---
# vars file for package.www # vars file for package.www
www_serverhostname: "nextcloud.local" www_serverhostname: "nextcloud.local"
\ No newline at end of file www_ssl_cert_dest_path: "{{ '%s/ssl/certs/%s' | format(system_config_directory, www_ssl_cert) }}"
www_ssl_priv_key_dest_path: "{{ '%s/ssl/private/%s' | format(system_config_directory, www_ssl_priv_key) }}"
\ No newline at end of file
Supports Markdown
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