Skip to content

webpp-studio/ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

ansible image

Docker image for ansible tool

Images on Docker Hub

Usage:

docker run --rm -v `pwd`:/app webpp/ansible:latest ansible-playbook -i hosts playbook.yaml

Full image with ansible collections:

docker run --rm -v `pwd`:/app webpp/ansible:full ansible-playbook -i hosts playbook.yaml

For add ssh keys use (SSH_KEY is path to ssh private key):

docker run --rm -v `pwd`:/app webpp/ansible:latest 
    /bin/bash -c 'eval $(ssh-agent -s);
                  chmod 600 $SSH_KEY;
                  ssh-add $SSH_KEY;
                  ansible-playbook -i hosts playbook.yaml'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published