Skip to content

Simple ansible role for trying out features without hassle on your localhost

License

Notifications You must be signed in to change notification settings

schnatterer/ansible-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-playground

A simple ansible role for trying out ansible features without hassle on your localhost.
Also provides a dir structure (see also ansible role docs) for getting started with new projects fast.

How to

Execute locally with ansible installed

./exec-playbook.sh`

or via Docker (no need to install anything)

docker run --rm -v $(pwd):$(pwd) -w $(pwd) -u "$(id -u):$(id -g)" ansible/ansible-runner:1.4.6 ./exec-playbook.sh
# Does not work with -u "$(id -u):$(id -g)" - resulting files will be owned by root :/

See the results in test folder.

About

Simple ansible role for trying out features without hassle on your localhost

Topics

Resources

License

Stars

Watchers

Forks