9 lines
298 B
YAML
9 lines
298 B
YAML
---
|
|
- 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"
|