Add apache_ssl_no_log variable so users can log output for debugging.

This commit is contained in:
Jeff Geerling 2024-03-06 21:22:50 -06:00
parent 18d469dfc5
commit 1093a4609b
5 changed files with 8 additions and 3 deletions

View file

@ -74,6 +74,10 @@ No SSL vhosts are configured by default, but you can add them using the same pat
Other SSL directives can be managed with other SSL-related role variables.
apache_ssl_no_log: true
Whether to print SSL-related task output to the console when running the playbook.
apache_ssl_protocol: "All -SSLv2 -SSLv3"
apache_ssl_cipher_suite: "AES256+EECDH:AES256+EDH"

View file

@ -37,6 +37,7 @@ apache_vhosts_ssl: []
apache_ignore_missing_ssl_certificate: true
apache_ssl_no_log: true
apache_ssl_protocol: "All -SSLv2 -SSLv3"
apache_ssl_cipher_suite: "AES256+EECDH:AES256+EDH"

View file

@ -29,7 +29,7 @@
stat: "path={{ item.certificate_file }}"
register: apache_ssl_certificates
with_items: "{{ apache_vhosts_ssl }}"
no_log: true
no_log: "{{ apache_ssl_no_log }}"
- name: Add apache vhosts configuration.
template:

View file

@ -13,7 +13,7 @@
stat: path={{ item.certificate_file }}
register: apache_ssl_certificates
with_items: "{{ apache_vhosts_ssl }}"
no_log: true
no_log: "{{ apache_ssl_no_log }}"
- name: Enable Apache mods.
copy:

View file

@ -13,7 +13,7 @@
stat: path={{ item.certificate_file }}
register: apache_ssl_certificates
with_items: "{{ apache_vhosts_ssl }}"
no_log: true
no_log: "{{ apache_ssl_no_log }}"
- name: Add apache vhosts configuration.
template: