add role tag to certbot role
This commit is contained in:
parent
296214db55
commit
e4722257b9
7 changed files with 31 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue