Skip to content

Avidei/ansible-ssh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

52 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧩 Description

Personal Ansible build based on Debian 13 with preinstalled packages:

curl
git
tree
python3.13
python3.13-venv
python3-pip
libssh-dev
ansible
sshpass
openssh-server
openssh-client
rsyslog

🐧 ansible-ssh

Debian-based container with SSH and Ansible preinstalled.
Exposes port 22/tcp for SSH connections.
The container starts and runs as root.

You can use it for testing or learning purposes

βš™οΈ Build

git clone https://github.com/Avidei/ansible-ssh.git
cd ansible-ssh
docker build -t avidei/ansible-ssh:latest . && \
docker run -d -p 2222:22 --name ansible-ssh avidei/ansible-ssh:latest

πŸš€ Deploy with Docker Compose

git clone https://github.com/Avidei/ansible-ssh.git
cd ansible-ssh
docker compose up -d

πŸ” Credentials for SSH connection (port 2222)

Field Value
Username avidei
Password avidei

Connect via:

ssh avidei@localhost -p 2222

🐍 Optional: Create Virtual Environment

It's recommended to create a dedicated Python virtual environment for the Ansible user.

python -m venv /home/avidei/.ansible
source /home/avidei/.ansible/bin/activate

About

Debian + SSH + Ansible container

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published