add role tag to certbot role

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

View file

@ -1,4 +1,6 @@
---
- name: ensure relevant packages are installed
tags: [ "certbot" ]
ansible.builtin.apt:
name:
- openssl
@ -8,8 +10,10 @@
become: true
- name: ensure manual auth scripts are deployed
tags: [ "certbot" ]
block:
- name: ensure manual auth scripts directory exists
tags: [ "certbot" ]
ansible.builtin.file:
path: "/usr/local/lib/ansible_certbot/manual_auth_scripts"
state: directory
@ -19,6 +23,7 @@
become: true
- name: ensure manual auth scripts are deployed
tags: [ "certbot" ]
ansible.builtin.copy:
src: "manual_auth_scripts/{{ item }}.sh"
dest: "/usr/local/lib/ansible_certbot/manual_auth_scripts/{{ item }}.sh"