I am trying to execute ansible playbook by python script however I am getting below error.
from ansible.playbook import PlayBook ImportError: cannot import name PlayBook My script is as below, from ansible.playbook import PlayBook pb = PlayBook(playbook='gitlab.yml') pb.run() Sagar Mujumale Cloud Analyst, PaaS Operations -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/7bac069f-81ef-4b17-8290-a7bb0735c58f%40googlegroups.com.
