add role tag to certbot role

This commit is contained in:
lilly 2026-04-30 22:56:28 +02:00
commit e08d18f48b
Signed by: lilly
SSH key fingerprint: SHA256:y9T5GFw2A20WVklhetIxG1+kcg/Ce0shnQmbu1LQ37g
7 changed files with 48 additions and 24 deletions

View file

@ -1,11 +1,14 @@
- name: validate dns-01-acme-dns challenge type config
- tags: ["certbot", "certbot-validate_cert"]
name: validate dns-01-acme-dns challenge type config
when: item.challengeType == "dns-01-acme-dns"
block:
- name: assert dns_01_acme_dns config exists
- tags: ["certbot", "certbot-validate_cert"]
name: assert dns_01_acme_dns config exists
ansible.builtin.assert:
that: item.dns_01_acme_dns is defined
- name: assert dns_01_acme_dns config is valid
- tags: ["certbot", "certbot-validate_cert"]
name: assert dns_01_acme_dns config is valid
ansible.builtin.validate_argument_spec:
argument_spec: "{{ required_data }}"
provided_arguments: