mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-21 03:23:59 -07:00
add the wsl connection plugin (#9795)
* add the wsl connection plugin
* move the banner_timeout required paramiko version to its own line
* document the proxy_command required paramiko version
* document the timeout required paramiko version
* simplify the sending of the become_pass value
* add Connection.__init__ type hints
* add MyAddPolicy.missing_host_key type hints
* normalize the Connection._parse_proxy_command replacers dict values to the str type
* add the user_known_hosts_file option
* modify the private_key_file option type to path
(cherry picked from commit 96b493002c
)
Co-authored-by: Rui Lopes <rgl@ruilopes.com>
19 lines
648 B
YAML
19 lines
648 B
YAML
---
|
|
# Derived from ../connection_proxmox_pct_remote/dependencies.yml Copyright (c) 2025 Nils Stein (@mietzen) <github.nstein@mailbox.org>
|
|
# Copyright (c) 2025 Rui Lopes (@rgl) <ruilopes.com>
|
|
# Copyright (c) 2025 Ansible Project
|
|
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
- hosts: localhost
|
|
gather_facts: true
|
|
serial: 1
|
|
tasks:
|
|
- name: Copy wsl.exe mock
|
|
copy:
|
|
src: files/wsl.exe
|
|
dest: /usr/local/bin/wsl.exe
|
|
mode: '0755'
|
|
- name: Install paramiko
|
|
pip:
|
|
name: "paramiko>=3.0.0"
|