Skip to content

Commit

Permalink
Add apache_ssl_no_log variable so users can log output for debugging.
Browse files Browse the repository at this point in the history
  • Loading branch information
geerlingguy committed Mar 7, 2024
1 parent 18d469d commit 1093a46
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
1 change: 1 addition & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion tasks/configure-Debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion tasks/configure-RedHat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion tasks/configure-Suse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1093a46

Please sign in to comment.