Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Cipher Group recreating even if exists #350

Closed
gjonn opened this issue Jan 19, 2024 · 1 comment
Closed

[Bug]: Cipher Group recreating even if exists #350

gjonn opened this issue Jan 19, 2024 · 1 comment
Assignees
Labels

Comments

@gjonn
Copy link

gjonn commented Jan 19, 2024

Summary

When I create a cipher group, the initial add works. If i run the playbook again, it doesn't find the group it just created and tries to create it again, which fails.

Issue Type

Bug Report

Component Name

netscaler.adc.sslcipher

Python Version

$ python --version # or python3 --version
Python 3.10.12

Ansible Version

$ ansible --version
ansible [core 2.15.5]

Ansible Configuration

$ ansible-config dump --only-changed

netscaler.adc Collection Version

$ ansible-galaxy collection list netscaler.adc
Collection    Version
------------- -------
netscaler.adc 2.4.0

Target NetScaler Version

> show ns version
14.1

Equivalent NetScaler CLI Command

Steps to Reproduce

- name: Cipher Group
  delegate_to: localhost
  netscaler.adc.sslcipher:
    nsip: "{{ inventory_hostname }}"
    ciphergroupname: ciphertest
    state: present

Run twice

Expected Results

The first one succeeds and creates the cipher group. The second run errors out because the group already exists, instead of reporting "ok".

Actual Results

Additioinal Notes

No response

@gjonn gjonn added the bug label Jan 19, 2024
sumanth-lingappa added a commit that referenced this issue Feb 2, 2024
Signed-off-by: Sumanth Lingappa <sumanth.lingappa@cloud.com>
@sumanth-lingappa
Copy link
Collaborator

This has been fixed in the above PR #358

You can install the unreleased netscaler.adc collection with this fix by below command

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants