I found this blog helpful. https://serversforhackers.com/running-ansible-programmatically
On Thursday, March 17, 2016 at 8:10:21 AM UTC-4, [email protected] wrote: > > Is there a way to trigger the playbook within a python script? > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/ec77b4cc-b4ad-4e44-9f2a-6e42e387e8cd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
