#- 2025-12-03 11:09:25 ------------------------------------#
Hi,
I am having trouble updating a SSL Client Template with a new certificate/key pair when using this Ansible module: a10.acos_axapi.a10_slb_template_client_ssl.
vThunder A10: 5.2.1-P13
Ansible acos_axapi version: 5.2.1-p11-90624
Python version: 3.8.10
This is the playbook i am using:
- name: "Update Client-SSL Template Server Name List"
a10.acos_axapi.a10_slb_template_client_ssl:
a10_partition: "{{ server_a10_partition }}"
name: "{{ server_a10_template_name }}"
server_name_list:
- server_name: "{{ server_a10_server_name }}"
server_cert: "{{ server_a10_server_name }}.pem"
server_key: "{{ server_a10_server_name }}.key"
ansible_host: "{{ server_hostname }}"
ansible_username: "{{ a10_username }}"
ansible_password: "{{ a10_password }}"
ansible_port: "{{ a10_port }}"
This is the error:
[ERROR]: Task failed: Module failed: Can't remove certificate, template is currently in use.
When updating the Client SSL Template from the GUI then save and press ‘OK’, the template is updating fine and we can use the new certificate.
Is there anyway i can solve or work around this issue?