Loading meta/main.yml +2 −1 Changes for meta/main.yml: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -7,4 +7,5 @@ galaxy_info: min_ansible_version: 1.2 #platforms: #categories: dependencies: [] dependencies: - apache tasks/main.yml +1 −24 Changes for tasks/main.yml: 1 added line, 24 removed lines. Original line number Diff line number Diff line Loading @@ -73,23 +73,6 @@ state: present minute: '*/15' - name: Enable mod-ssl in Apache with_items: - ssl - headers apache2_module: name: '{{ item }}' state: present notify: - Restart Apache - name: Disable default Apache site file: path: /etc/apache2/sites-enabled/000-default.conf state: absent notify: - Restart Apache - name: Add ownCloud Apache site template: src: owncloud.conf.j2 Loading @@ -98,13 +81,7 @@ group: root mode: '0644' notify: - Restart Apache - name: Open https port in firewall ufw: rule: allow port: 443 proto: tcp - Reload Apache - name: Add daily backup job template: Loading templates/owncloud.conf.j2 −10 Changes for templates/owncloud.conf.j2: 0 added lines, 10 removed lines. Original line number Diff line number Diff line <VirtualHost _default_:443> DocumentRoot /var/www/owncloud/ SSLEngine on SSLCertificateFile {{ tls_cert_path }} SSLCertificateKeyFile {{ tls_key_path }} SSLProtocol all -SSLv2 -SSLv3 SSLCipherSuite !kRSA:!3DES:!RC4:!DES:!MD5:!aNULL:!NULL:AESGCM+ECDH:AES256+ECDH:AES128:+SHA1; SSLHonorCipherOrder on SSLCompression off Header always set Strict-Transport-Security "max-age=15768000;includeSubDomains; preload" ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined </virtualHost> Loading
meta/main.yml +2 −1 Changes for meta/main.yml: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -7,4 +7,5 @@ galaxy_info: min_ansible_version: 1.2 #platforms: #categories: dependencies: [] dependencies: - apache
tasks/main.yml +1 −24 Changes for tasks/main.yml: 1 added line, 24 removed lines. Original line number Diff line number Diff line Loading @@ -73,23 +73,6 @@ state: present minute: '*/15' - name: Enable mod-ssl in Apache with_items: - ssl - headers apache2_module: name: '{{ item }}' state: present notify: - Restart Apache - name: Disable default Apache site file: path: /etc/apache2/sites-enabled/000-default.conf state: absent notify: - Restart Apache - name: Add ownCloud Apache site template: src: owncloud.conf.j2 Loading @@ -98,13 +81,7 @@ group: root mode: '0644' notify: - Restart Apache - name: Open https port in firewall ufw: rule: allow port: 443 proto: tcp - Reload Apache - name: Add daily backup job template: Loading
templates/owncloud.conf.j2 −10 Changes for templates/owncloud.conf.j2: 0 added lines, 10 removed lines. Original line number Diff line number Diff line <VirtualHost _default_:443> DocumentRoot /var/www/owncloud/ SSLEngine on SSLCertificateFile {{ tls_cert_path }} SSLCertificateKeyFile {{ tls_key_path }} SSLProtocol all -SSLv2 -SSLv3 SSLCipherSuite !kRSA:!3DES:!RC4:!DES:!MD5:!aNULL:!NULL:AESGCM+ECDH:AES256+ECDH:AES128:+SHA1; SSLHonorCipherOrder on SSLCompression off Header always set Strict-Transport-Security "max-age=15768000;includeSubDomains; preload" ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined </virtualHost>