diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f6146ca..10d459b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +# Fixed + +- Resolved error with `ssh_netscaler_adc` connection plugin with newer versions of ansible + ## [2.10.1] - 2025-09-16 # Fixed diff --git a/plugins/connection/ssh_netscaler_adc.py b/plugins/connection/ssh_netscaler_adc.py index 101e03aa..6fe6a620 100644 --- a/plugins/connection/ssh_netscaler_adc.py +++ b/plugins/connection/ssh_netscaler_adc.py @@ -53,6 +53,21 @@ vars: - name: ansible_host_key_checking - name: ansible_ssh_host_key_checking + password_mechanism: + description: Mechanism to use for handling ssh password prompt + type: string + default: ssh_askpass + choices: + - ssh_askpass + - sshpass + - disable + version_added: '2.19.0' + env: + - name: ANSIBLE_SSH_PASSWORD_MECHANISM + ini: + - {key: password_mechanism, section: ssh_connection} + vars: + - name: ansible_ssh_password_ password: description: Authentication password for the C(remote_user). Can be supplied as CLI option. vars: @@ -248,6 +263,27 @@ key: control_path_dir vars: - name: ansible_control_path_dir + private_key: + description: + - Private key contents in PEM format. Requires the C(SSH_AGENT) configuration to be enabled. + type: string + env: + - name: ANSIBLE_PRIVATE_KEY + vars: + - name: ansible_private_key + - name: ansible_ssh_private_key + version_added: '2.19.0' + private_key_passphrase: + description: + - Private key passphrase, dependent on O(private_key). + - This does NOT have any effect when used with O(private_key_file). + type: string + env: + - name: ANSIBLE_PRIVATE_KEY_PASSPHRASE + vars: + - name: ansible_private_key_passphrase + - name: ansible_ssh_private_key_passphrase + version_added: '2.19.0' sftp_batch_mode: default: 'yes' description: 'TODO: write it' @@ -315,6 +351,17 @@ - name: ANSIBLE_PKCS11_PROVIDER vars: - name: ansible_pkcs11_provider + verbosity: + version_added: '2.19.0' + default: 0 + type: int + description: + - Requested verbosity level for the SSH CLI. + env: [{name: ANSIBLE_SSH_VERBOSITY}] + ini: + - {key: verbosity, section: ssh_connection} + vars: + - name: ansible_ssh_verbosity """ import codecs