3
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2025-12-21 16:23:08 +00:00

Auto-purge orphaned Let's Encrypt renewal configuration files

This commit is contained in:
Slavi Pantaleev
2022-10-25 06:28:24 +03:00
parent 69ae35bb23
commit 9c549a185f
3 changed files with 44 additions and 0 deletions

View File

@@ -18,6 +18,9 @@
- when: "matrix_ssl_retrieval_method == 'lets-encrypt'"
block:
- when: matrix_ssl_orphaned_renewal_configs_purging_enabled | bool
ansible.builtin.import_tasks: "{{ role_path }}/tasks/ssl/purge_ssl_lets_encrypt_orphaned_configs.yml"
- name: Ensure certbot Docker image is pulled
docker_image:
name: "{{ matrix_ssl_lets_encrypt_certbot_docker_image }}"