julienhmmt / template-ansible

git template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

template-ansible

git template

How to use it?

Use tox to generate the virtual env:

tox
source .tox/py3-ansible/bin/activate

Create instances, and connect to them:

molecule create
molecule login --host molecule-debian11
molecule login --host molecule-debian12
molecule login --host molecule-ubuntu

Use ansible on molecule hosts (check mode):

ansible-playbook -i hosts play.yml --limit=molecule --check

Destroy everything:

molecule destroy

About

git template

License:GNU General Public License v3.0