feat: Manage EasyRSA CA and certificates
Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
f3930ea7d4
commit
19a7af377e
6 changed files with 100 additions and 8 deletions
9
tasks/easyrsa-certs-delete.yml
Normal file
9
tasks/easyrsa-certs-delete.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
- name: Delete EasyRSA certificates
|
||||
ansible.builtin.file:
|
||||
name: "{{ item }}"
|
||||
state: absent
|
||||
loop:
|
||||
- "{{ easyrsa_ca_dir }}/pki/reqs/{{ client_name }}.req"
|
||||
- "{{ easyrsa_ca_dir }}/pki/private/{{ client_name }}.key"
|
||||
- "{{ easyrsa_ca_dir }}/pki/issued/{{ client_name }}.crt"
|
Loading…
Add table
Add a link
Reference in a new issue