Hi,
I am trying to execute unusable playbook using unusable python API, but the
execution call to playbook.PlayBook fails with
....lib/python2.7/site-packages/ansible/playbook/__init__.py", line 173, in
__init__
inventory.set_playbook_basedir(self.basedir) AttributeError: 'str'
object has no attribute 'set_playbook_basedir'.
pb = playbook.PlayBook(
playbook=playbook_name,
stats=stats,
callbacks=playbook_cb,
runner_callbacks=runner_cb,
inventory = inventory_file)
Kindly let me know if more information is needed.
Thanks,
Durai G
--
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/8fca9104-9d52-4732-979e-3ca8ebc82870%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.