Hi,
I running a play book via a python program.
I pass extra_vars when initialising the Playbook object but the variables in here I cannot access in my playbook.
So I use:
import ansible.playbook
pb = ansible.playbook.Playbook{ …, …, extra_vars{a:b}
pb.run()
I have test.yml as my playbook and within here I have this: