Open terryjrjoyce opened 2 years ago
When revoking the clients the CA cert is not removed from the server.
Current Code
- name: Revoke certificates command: sh revoke.sh {{ item }}.crt changed_when: true args: chdir: "{{ openvpn_key_dir }}" with_items: - '{{ openvpn_revoke_these_certs }}' - '{{ openvpn_cert_sync_revoke | default([]) }}'
New Code
- name: Revoke client crt file: path: "{{ openvpn_key_dir }}/{{ item }}.crt" state: absent force: true with_items: - '{{ openvpn_revoke_these_certs }}' - '{{ openvpn_cert_sync_revoke | default([]) }}'
I think this would be fixed by #186.
When revoking the clients the CA cert is not removed from the server.
Current Code
New Code