I'm trying to figure out how to use PlaybookExecutor. In short, I'd like
to run my playbook from the Python code using Ansible 2. I tried poking
the code but I'm just not smart enough, so a code snippet would be more
than welcome. Thank you!
As Ansible uses multiprocess for forking, it's imposible to use with
Celery. Is there any other recommendation for running playbooks? Or,
maybe, does anyone knows how Tower did it? Thank you!
For now, I'm using os.system but if anyone has any idea how to run
playbook programmaticaly, I'd be glad to hear it. Anyway, thank you very
much for your help!