Skip to content

ThoughtProcess/ansible-pct-ssh

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 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 lxc_host=container_id

lxc_container=container also works for setting the container name.

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.5%
  • Other 0.5%