|
53 | 53 | vars: |
54 | 54 | - name: ansible_host_key_checking |
55 | 55 | - name: ansible_ssh_host_key_checking |
| 56 | + password_mechanism: |
| 57 | + description: Mechanism to use for handling ssh password prompt |
| 58 | + type: string |
| 59 | + default: ssh_askpass |
| 60 | + choices: |
| 61 | + - ssh_askpass |
| 62 | + - sshpass |
| 63 | + - disable |
| 64 | + version_added: '2.19.0' |
| 65 | + env: |
| 66 | + - name: ANSIBLE_SSH_PASSWORD_MECHANISM |
| 67 | + ini: |
| 68 | + - {key: password_mechanism, section: ssh_connection} |
| 69 | + vars: |
| 70 | + - name: ansible_ssh_password_ |
56 | 71 | password: |
57 | 72 | description: Authentication password for the C(remote_user). Can be supplied as CLI option. |
58 | 73 | vars: |
|
248 | 263 | key: control_path_dir |
249 | 264 | vars: |
250 | 265 | - name: ansible_control_path_dir |
| 266 | + private_key: |
| 267 | + description: |
| 268 | + - Private key contents in PEM format. Requires the C(SSH_AGENT) configuration to be enabled. |
| 269 | + type: string |
| 270 | + env: |
| 271 | + - name: ANSIBLE_PRIVATE_KEY |
| 272 | + vars: |
| 273 | + - name: ansible_private_key |
| 274 | + - name: ansible_ssh_private_key |
| 275 | + version_added: '2.19.0' |
| 276 | + private_key_passphrase: |
| 277 | + description: |
| 278 | + - Private key passphrase, dependent on O(private_key). |
| 279 | + - This does NOT have any effect when used with O(private_key_file). |
| 280 | + type: string |
| 281 | + env: |
| 282 | + - name: ANSIBLE_PRIVATE_KEY_PASSPHRASE |
| 283 | + vars: |
| 284 | + - name: ansible_private_key_passphrase |
| 285 | + - name: ansible_ssh_private_key_passphrase |
| 286 | + version_added: '2.19.0' |
251 | 287 | sftp_batch_mode: |
252 | 288 | default: 'yes' |
253 | 289 | description: 'TODO: write it' |
|
315 | 351 | - name: ANSIBLE_PKCS11_PROVIDER |
316 | 352 | vars: |
317 | 353 | - name: ansible_pkcs11_provider |
| 354 | + verbosity: |
| 355 | + version_added: '2.19.0' |
| 356 | + default: 0 |
| 357 | + type: int |
| 358 | + description: |
| 359 | + - Requested verbosity level for the SSH CLI. |
| 360 | + env: [{name: ANSIBLE_SSH_VERBOSITY}] |
| 361 | + ini: |
| 362 | + - {key: verbosity, section: ssh_connection} |
| 363 | + vars: |
| 364 | + - name: ansible_ssh_verbosity |
318 | 365 | """ |
319 | 366 |
|
320 | 367 | import codecs |
|
0 commit comments