-
Couldn't load subscription status.
- Fork 58
Closed
Labels
Description
Summary
In Ansible 12 Porting Guide, it mentions that the sshconnection plugin now supports SSH_ASKPASS and other configurations.
the code changes make the "super()" method calls that ssh_netscaler_adc fail because the expected options are not configured.
Issue Type
Bug Report
Component Name
ssh_netscaler_adc
Python Version
$ python --version # or python3 --version
Python 3.13.7Ansible Version
$ ansible --version
ansible [core 2.19.3]
config file = None
configured module search path = ['/Users/mjohnw/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /venv/lib/python3.13/site-packages/ansible
ansible collection location =/.ansible/collections:/usr/share/ansible/collections
executable location = /venv/bin/ansible
python version = 3.13.7 (main, Aug 14 2025, 11:12:11) [Clang 17.0.0 (clang-1700.0.13.3)] (/venv/bin/python3.13)
jinja version = 3.1.6
pyyaml version = 6.0.3 (with libyaml v0.2.5)Ansible Configuration
$ ansible-config dump --only-changed
CONFIG_FILE() = None
PAGER(env: PAGER) = less
GALAXY_SERVERS:netscaler.adc Collection Version
$ ansible-galaxy collection list netscaler.adc
Collection Version
------------- -------
netscaler.adc 2.10.1Target NetScaler Version
> show ns version
NetScaler NS14.1: Build 47.48.nc, Date: Aug 20 2025, 16:21:59 (64-bit)Equivalent NetScaler CLI Command
Steps to Reproduce
- name: Verify Netscaler connection
hosts: ns1.myhost
connection: netscaler.adc.ssh_netscaler_adc
tasks:
- name: Run simple command
changed_when: true
ansible.builtin.raw: |
echo "hello world"Expected Results
I expected to have "hello world" in the raw output
Actual Results
TASK [Run simple command] **********************************************************************************************************************************************************************************
[ERROR]: Task failed: : No config definition exists for 'password_mechanism' for 'ansible_collections.netscaler.adc.plugins.connection.ssh_netscaler_adc' connection plugin.
Origin: $MYDIR/netscaler-connection.yml:22:7
20 delegate_to: localhost
21
22 - name: Run simple command
^ column 7
fatal: [ns-sds.med.umich.edu]: FAILED! => {"changed": false, "msg": "Task failed: : No config definition exists for 'password_mechanism' for 'ansible_collections.netscaler.adc.plugins.connection.ssh_netscaler_adc' connection plugin."}
Additional Notes
I will try to do a pull request for the fix.