From 0eec0782a093df09f10a4808a5f5bb2ee93413ab Mon Sep 17 00:00:00 2001 From: Nils Stein <31704359+mietzen@users.noreply.github.com> Date: Sun, 26 May 2024 15:58:05 +0200 Subject: [PATCH] rename to a pct_remote --- plugins/connection/{pct-remote.py => pct_remote.py} | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) rename plugins/connection/{pct-remote.py => pct_remote.py} (97%) diff --git a/plugins/connection/pct-remote.py b/plugins/connection/pct_remote.py similarity index 97% rename from plugins/connection/pct-remote.py rename to plugins/connection/pct_remote.py index 9abfd160c3..e89642047f 100644 --- a/plugins/connection/pct-remote.py +++ b/plugins/connection/pct_remote.py @@ -10,7 +10,7 @@ __metaclass__ = type DOCUMENTATION = r""" author: Nils Stein (@mietzen) - name: pct-remote + name: pct_remote short_description: Run tasks in Proxmox LXC container instances using pct CLI via ssh requirements: - paramiko @@ -304,11 +304,11 @@ all: container-1: ansible_host: 10.0.0.10 proxmox_vmid: 100 - ansible_connection: community.general.pct-remote + ansible_connection: community.general.pct_remote container-2: ansible_host: 10.0.0.10 proxmox_vmid: 200 - ansible_connection: community.general.pct-remote + ansible_connection: community.general.pct_remote proxmox: hosts: proxmox-1: @@ -332,7 +332,7 @@ filters: want_proxmox_nodes_ansible_host: false compose: ansible_host: "'10.0.0.10'" - ansible_connection: "'pct-remote'" + ansible_connection: "'pct_remote'" # Playbook --- @@ -354,7 +354,7 @@ display = Display() class Connection(SSH_Connection): ''' SSH based connections (paramiko) to Proxmox pct ''' - transport = 'community.general.pct-remote' + transport = 'community.general.pct_remote' def exec_command(self, cmd: str, in_data: bytes | None = None, sudoable: bool = True) -> tuple[int, bytes, bytes]: ''' execute a command inside the proxmox container '''