Browse Source

Add task to remove clients from HSM

Change-Id: I87f7cb2435f77814169fbad3bd0814d370a546a1
changes/68/761768/2 1.1.0
Douglas Mendizábal 9 months ago
parent
commit
b3981c6f8b
  1. 8
      tasks/unregister_client.yaml

8
tasks/unregister_client.yaml

@ -0,0 +1,8 @@
---
- name: Delete clients from HSM
shell: >
sshpass -p '{{ item.admin_password }}' ssh -o StrictHostKeyChecking=false
-c aes256-cbc admin@{{ item.hostname }}
-C "client delete -f -c {{ client_name }}"
loop: "{{ lunasa_hsms }}"
ignore_errors: true
Loading…
Cancel
Save