netscaler/ansible-collection-netscaleradc

[Help]: SSLCertKey link doesn't work with the new version

valecor95 opened this issue · 1 comments

Summary

Hello,
I'm trying to link my server certificate to the CA Certificate.
I'm able to do that with the old version of the modules:

- name: Link SSL Key
  delegate_to: localhost
  ignore_errors: true
  netscaler_nitro_request:
    operation: action
    action: link
    resource: sslcertkey
    attributes:
      certkey: "{{ certkey_name }}"
      linkcertkeyname: "{{ ca_name }}"

I'm trying to do that with the netscaler.adc.sslcertkey in this way:

- name: "[SSLCERT] Configure SSL Certkey and linking it to CA cert"
  delegate_to: localhost
  netscaler.adc.sslcertkey:
    state: "present"
    certkey: "{{ certkey_name }}"
    cert: "{{ ssl_server_cert.name }}"
    key: "{{ ssl_server_key.name }}"
    linkcertkeyname: "{{ ca_name }}"

This create the certkey but do not link the CA.

Could you help me?
Thank you.

Issue Type

Help wanted

Component Name

sslcertkey

Python Version

python 3.8

Ansible Version

Ansible 2.9

netscaler.adc Collection Version

2.4.0

This is fixed in the latest PR: #357

You can download the latest unreleased version

ansible-galaxy collection install "git+https://github.com/netscaler/ansible-collection-netscaleradc.git" --force