diff --git a/defaults/main.yml b/defaults/main.yml index 00c4375..6f4b86e 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -2,4 +2,6 @@ reverse_proxy_SSLProtocol: "all -SSLv2 -SSLv3 -TLSv1 -TLSv1.1" reverse_proxy_SSLCipherSuite: "EECDH+ECDSA+AESGCM EECDH+aRSA+AESGCM EECDH+ECDSA+SHA384 EECDH+ECDSA+SHA256 EECDH+aRSA+SHA384 EECDH+aRSA+SHA256 EECDH+aRSA+RC4 EECDH !SHA1 !DHE !EDH !aNULL !eNULL !LOW !3DES !MD5 !EXP !PSK !SRP !DSS !RC4" reverse_proxy_default_website: https://www.libretic.fr reverse_proxy_default_issue_url: https://www.libretic.fr/contact -reverse_proxy_additional_certificates: [] \ No newline at end of file +reverse_proxy_additional_certificates: [] +# surcharger à false pour forcer le téléchargement sur des serveurs avec certificats invalides +reverse_proxy_validate_certs: true diff --git a/tasks/main.yml b/tasks/main.yml index 10f7a08..f8e4960 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -200,6 +200,7 @@ mode: u=rw,g=r,o=r owner: root group: root + validate_certs: "{{ reverse_proxy_validate_certs }}" with_items: - "{{ reverse_proxy_additional_certificates }}" notify: @@ -214,6 +215,7 @@ mode: u=rw,g=r,o= owner: root group: root + validate_certs: "{{ reverse_proxy_validate_certs }}" with_items: - "{{ reverse_proxy_additional_certificates }}" notify: