Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 401 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 401 Bytes

python-ansible-playbook

Very basic example of how to run a command like ansible-playbook in Python itself.

Install:

virtualenv env
source env/bin/activate
pip install -r requirements.txt

Usage:

python deploy.py

It shows only a "Hello World!" message executed with Ansible on the local machine.
It can be a good starting point for running an Ansible playbook locally.