forked from ISTI-ansible-roles/ansible-roles
library/roles/apache/defaults/main.yml: set apache_letsencrypt_managed to true by default.
This commit is contained in:
parent
22e69a2c8e
commit
c17622a734
|
@ -73,7 +73,7 @@ apache_additional_modules_list:
|
||||||
# -
|
# -
|
||||||
# -
|
# -
|
||||||
|
|
||||||
apache_letsencrypt_managed: False
|
apache_letsencrypt_managed: True
|
||||||
apache_letsencrypt_proxy_modules:
|
apache_letsencrypt_proxy_modules:
|
||||||
- proxy
|
- proxy
|
||||||
- proxy_http
|
- proxy_http
|
||||||
|
|
|
@ -34,6 +34,6 @@
|
||||||
- name: Remove the letsencrypt hook for apache
|
- name: Remove the letsencrypt hook for apache
|
||||||
file: path={{ letsencrypt_acme_services_scripts_dir }}/apache2 state=absent
|
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' ]
|
tags: [ 'apache', 'letsencrypt' ]
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,4 @@
|
||||||
- include: apache-basic-auth.yml
|
- include: apache-basic-auth.yml
|
||||||
when: apache_basic_auth
|
when: apache_basic_auth
|
||||||
- include: apache-letsencrypt.yml
|
- include: apache-letsencrypt.yml
|
||||||
when:
|
when: letsencrypt_acme_install is defined and letsencrypt_acme_install
|
||||||
- letsencrypt_acme_install is defined and letsencrypt_acme_install
|
|
||||||
- apache_letsencrypt_managed
|
|
||||||
|
|
Loading…
Reference in New Issue