add role tag to certbot role
This commit is contained in:
parent
951b4df43e
commit
e08d18f48b
7 changed files with 48 additions and 24 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue