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,4 +1,5 @@
- name: ensure relevant packages are installed
- tags: ["certbot", "certbot-install"]
name: ensure relevant packages are installed
ansible.builtin.apt:
name:
- openssl
@ -7,9 +8,11 @@
state: present
become: true
- name: ensure manual auth scripts are deployed
- tags: ["certbot", "certbot-install"]
name: ensure manual auth scripts are deployed
block:
- name: ensure manual auth scripts directory exists
- tags: ["certbot", "certbot-install"]
name: ensure manual auth scripts directory exists
ansible.builtin.file:
path: "/usr/local/lib/ansible_certbot/manual_auth_scripts"
state: directory
@ -18,7 +21,8 @@
mode: "0755"
become: true
- name: ensure manual auth scripts are deployed
- tags: ["certbot", "certbot-install"]
name: ensure manual auth scripts are deployed
ansible.builtin.copy:
src: "manual_auth_scripts/{{ item }}.sh"
dest: "/usr/local/lib/ansible_certbot/manual_auth_scripts/{{ item }}.sh"