Skip to content

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

License

Notifications You must be signed in to change notification settings

therealmarv/python-ansible-playbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages