Cleanup project

This commit is contained in:
2024-03-31 10:01:57 +01:00
parent 228ea7f513
commit 757cceb0f7
10 changed files with 58 additions and 28 deletions

View File

@@ -1,9 +1,9 @@
---
- name: Add FQDN if not already listed in certs
- name: Certbot - Add host FQDN if not already listed in certs
ansible.builtin.set_fact:
certbot_certs: "{{ certbot_certs + [{'hostname': ansible_fqdn}] }}"
when: certbot_certs | selectattr('hostname', 'equalto', ansible_fqdn) | list | length == 0
- name: Request Certificate
- name: Certbot - Request Certificate
ansible.builtin.include_tasks: cert.yaml
loop: "{{ certbot_certs }}"