library/roles/apache/defaults/main.yml: set apache_letsencrypt_managed to true by default.

This commit is contained in:
Andrea Dell'Amico 2016-04-22 18:27:51 +02:00
parent 22e69a2c8e
commit c17622a734
3 changed files with 3 additions and 5 deletions

View File

@ -73,7 +73,7 @@ apache_additional_modules_list:
# -
# -
apache_letsencrypt_managed: False
apache_letsencrypt_managed: True
apache_letsencrypt_proxy_modules:
- proxy
- proxy_http

View File

@ -34,6 +34,6 @@
- name: Remove the letsencrypt hook for apache
file: path={{ letsencrypt_acme_services_scripts_dir }}/apache2 state=absent
when: ( letsencrypt_acme_install is defined ) and ( not letsencrypt_acme_install )
when: not apache_letsencrypt_managed
tags: [ 'apache', 'letsencrypt' ]

View File

@ -4,6 +4,4 @@
- include: apache-basic-auth.yml
when: apache_basic_auth
- include: apache-letsencrypt.yml
when:
- letsencrypt_acme_install is defined and letsencrypt_acme_install
- apache_letsencrypt_managed
when: letsencrypt_acme_install is defined and letsencrypt_acme_install