Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 709 Bytes

README.md

File metadata and controls

41 lines (25 loc) · 709 Bytes

Ansible - Run Playbook

This is an example of how to run Ansible v2 Playbook programatically.

Usage

$ cd env
$ ../run.py

PLAY [Test play] ***************************************************************

TASK [Debug task] **************************************************************
ok: [localhost] => {
    "msg": "Hello world!"
}

PLAY RECAP *********************************************************************
localhost                  : ok=1    changed=0    unreachable=0    failed=0

Resources

Author

Jiri Tyr

License

MIT