mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-02-22 12:29:39 +01:00
Added cleanup mode for certs and solved peertube variable bug
This commit is contained in:
parent
6c9a069cf0
commit
21728ab60f
@ -6,4 +6,5 @@ mode_debug: false # Prints well formated debug information
|
||||
mode_test: false # Executes test routines instead of productive routines
|
||||
mode_update: true # Executes updates
|
||||
mode_backup: true # Activates the backup before the update procedure
|
||||
mode_setup: false # Execute the setup and initializing procedures
|
||||
mode_setup: false # Execute the setup and initializing procedures
|
||||
mode_cleanup: false # Cleanup unused files and configurations
|
@ -12,6 +12,12 @@
|
||||
{{ '--test-cert' if mode_test | bool else '' }}
|
||||
when: enable_one_letsencrypt_cert_for_all and run_once_recieve_certificate is not defined
|
||||
|
||||
- name: "cleanup dedicated cert for {{ domain }}"
|
||||
command: >-
|
||||
certbot delete --cert-name {{ domain }} --non-interactive
|
||||
when: mode_cleanup and enable_one_letsencrypt_cert_for_all and run_once_recieve_certificate is not defined
|
||||
|
||||
|
||||
- name: run the recieve_certificate tasks once
|
||||
set_fact:
|
||||
run_once_recieve_certificate: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user