mirror of
https://github.com/proxmoxer/proxmoxer.git
synced 2026-04-25 07:06:00 +03:00
[GH-ISSUE #76] Add support for local #42
Labels
No labels
backend:https
backend:local
backend:openssh
backend:ssh_paramiko
pull-request
status:ansible-issue
status:help-wanted
status:info-needed
status:proxmox-issue
status:review-needed
type:bug 🐞
type:dependency ⛓️
type:docs 📝
type:enhancement ⏫
type:maintenance 🛠️
type:meta
type:question ❓
type:request ✋
type:testing 🧪
version:1.x
version:latest
version:py2
version:py3
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/proxmoxer#42
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @McTwist on GitHub (Nov 24, 2021).
Original GitHub issue: https://github.com/proxmoxer/proxmoxer/issues/76
Originally assigned to: @jhollowe on GitHub.
Currently you are required to access a node "remotely" through its name. But if for some reason you want to run locally and do not want to use any type of authentication, this falls flat.
I would recommend to add a service for local, where it will do exactly like ssh, but using
Popeninstead for local access.@jhollowe commented on GitHub (Nov 24, 2021):
you can use one of the SSH backends and use "localhost" as the host if you are running Proxmoxer on a PVE/PMG/PBS node.
@reitermarkus commented on GitHub (Jan 12, 2022):
Could a dedicated
localbackend be added? In my case at least,ssh root@localhostgets stuck sincelocalhostis not inknown_hosts, and I also don't think it should be.@McTwist commented on GitHub (Jan 12, 2022):
#77 has already been declined, but please do voice your opinion about this to increase the need for it.
@reitermarkus commented on GitHub (Jan 12, 2022):
This would be very beneficial for use in the Proxmox Ansible module which uses this library. Ansible already ssh's to a given node itself, so this would alleviate the need for depending on another SSH library and reduce boilerplate in playbooks quite a lot.
@jhollowe commented on GitHub (Jan 12, 2022):
Ah, yeah that makes sense. I was wondering the utility of local/cli access, but when using Ansible you are already SSHed into the host and running in Python. A single dependency on proxmoxer vs proxmoxer+(openssh|paramiko) is obviously preferred in this setup as well. And the fact that all you need is the SSH access for Ansible and wouldn't need any other creds once connected.
There are some other features I would like to get implemented and released first, but I would be willing to add a local backend in the following release. And yes, there needs to be some refactoring done to reduce duplicate code between SSH and local, but that should be easy.
@jhollowe commented on GitHub (Jan 12, 2022):
Backend name ideas?
👍 for
local🚀 for
clicomment below for other ideas
@McTwist commented on GitHub (Jan 13, 2022):
Will #77 be used, or will you create your own?