Skip to content
This repository has been archived by the owner on Mar 15, 2022. It is now read-only.

amkartashov/ansible-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

DEPRECATED: moved to gorilych/ansible

Ansible in docker

Docker image with preinstalled ansible, to be used as ansible control machine.

Base image: williamyeh/ansible:ubuntu16.04

Usage

Provided that you have all playbook information (cfg/hosts/vault/keys/etc) in a single directory, run below commands

cd playbook_dir
# run shell
docker run -ti --rm --volume `pwd`:/ansible gorilych/ansible
# run any other command
docker run -ti --rm --volume `pwd`:/ansible gorilych/ansible ansible --version
# run playbook
docker run -ti --rm --volume `pwd`:/ansible gorilych/ansible ansible-playbook site.yml

If requirements.txt exists in playbook directory, it will install needed python modules with pip.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published