Skip to content

jbrubake/ansible-pct-ssh

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-pct-ssh

Ansible connection plugin using ssh + pct

Description

This plugin allows using Ansible to manage Proxmox containers without having to install SSH servers in each CT.

The plugin connects to the host using SSH, then uses pct to enter the container.

Configuration

Add to ansible.cfg:

[defaults]
connection_plugins = /path/to/connection_plugins/pct_ssh

Then, modify your hosts file to use the pct_ssh transport:

container ansible_host=proxmox_server ansible_connection=pct_ssh ct_id=container_id

Fork

This is a fork from the ansible-lxc-ssh by Andreas Scherbaum.

About

Connect to Proxmox CT using ssh + pct

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.6%
  • Jinja 0.4%