Skip to content

arehmandev/Ansible-Docker-centos6

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Centos 6 docker container to test ansible scripts

Instructions to build

1. Clone this repo
2. Run build.sh (e.g. bash build.sh)

Instructions to use

####
Add your playbook to the ./ansible folder and cd 1 folder up (cd ..)
####
docker run -it -v $PWD/ansible:/ansible ansibletest

##Note: Make sure your ansible folder is structured correctly e.g.:

├── roles

│   ├── git

│   ├── nginx

│   ├── php

│   ├── python

│   ├── redis

│   └── yum_repos_d

├── setup.retry

└── setup.yml

This container is designed to execute the foremost .yml file e.g. setup.yml If structured properly this should execute the full playbook

About

Ansible docker container for testing Centos 6 playbooks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages