You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to switch to default partition using state: switched but it will not going to netscaler default or any other partition. it is showing just single partition name in which netscaler was present. Also module is not listdown the partitions. can you help on this or suggest anything i am missing. I am using ansible version:2.13.13 and netscaler.adc: 2.6.1
Issue Type
Bug Report
Component Name
nspartition, sslcertkey, sslcert
Python Version
$ python --version # or python3 --versionpython version using 3.6.8python3 version using 3.8.12
Ansible Version
$ ansible --version
2.13.13
Ansible Configuration
$ ansible-config dump --only-changed
netscaler.adc Collection Version
$ ansible-galaxy collection list netscaler.adcnetscaler.adc: 2.6.1
Target NetScaler Version
> show ns version14.1-25.56
Equivalent NetScaler CLI Command
Steps to Reproduce
---
- name: Partition details and ssl certkey in the partitionhosts: localhostconnection: ansible.netcommon.network_cligather_facts: falsecollections:
- netscaler.adcvars:
netscaler: " enter ipaddress"netscaler_pass: "enter password"tasks:
- name: List the partition and detailsblock:
- name: Login to netscale adcnetscaler.adc.login:
nsip: "{{ netscaler }}"username: "enter username"password: "{{ netscaler_pass }}"validate_certs: falseregister: login_result
- name: Display the login result information to retrieve session idansible.builtin.debug:
var: login_result
- name: Get the netscaler partition listnetscaler.adc.nspartition:
nsip: "{{ netscaler }}"nitro_auth_token: "{{ login_result.sessionid }}"partitionname: defaultstate: switchedvalidate_certs: falseregister: partition_list
- name: Display the netscaler partion listansible.builtin.debug:
var: partition_list
- name: get ns partition using commandansible.builtin.command: "ssh username@ipaddress 'show partition default'"register: cmd_result
- name: Display the show ns command resultdebug:
var: cmd_result
Expected Results
I expected to fetch default partition and list all the partition under it.
looping through each partition to fetch the sslcertificate and sslcertificatekey list and details to configure the csr and sslcertificate for expiring certificates.
Actual Results
Additional Notes
No response
The text was updated successfully, but these errors were encountered:
Summary
I want to switch to default partition using state: switched but it will not going to netscaler default or any other partition. it is showing just single partition name in which netscaler was present. Also module is not listdown the partitions. can you help on this or suggest anything i am missing. I am using ansible version:2.13.13 and netscaler.adc: 2.6.1
Issue Type
Bug Report
Component Name
nspartition, sslcertkey, sslcert
Python Version
Ansible Version
$ ansible --version
2.13.13
Ansible Configuration
$ ansible-config dump --only-changed
netscaler.adc Collection Version
Target NetScaler Version
Equivalent NetScaler CLI Command
Steps to Reproduce
Expected Results
I expected to fetch default partition and list all the partition under it.
looping through each partition to fetch the sslcertificate and sslcertificatekey list and details to configure the csr and sslcertificate for expiring certificates.
Actual Results
Additional Notes
No response
The text was updated successfully, but these errors were encountered: