Skip to content

tomershinhar/ansible-docker-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

ansible-docker-image

Overview

this is a Dockerfile for building an image with ansible

How to use

start by cloneing this repo.

then copy/move the playbooks you want to test to the testing-playbooks folder.

build the continer image using docker/podman

docker build -t {image-name} .  

run the continer

docker run -it {image-name} bash

all the playbooks that were passed to the testing-playbooks folder will now be under /playbooks folder and you can run them to verify that they are working correctly

cd /playbooks
ansible-playbook (playbook-name}

About

this is a Dockerfile for building an image with ansible

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published