get name path of current playbook

34 views
Skip to first unread message

Jeff Reter

unread,
Jun 2, 2015, 8:12:14 AM6/2/15
to ansible...@googlegroups.com
how to get the name/path of the current playbook, beeing run

looking for something like a var:

ansible_playbook
ansible_current_playbook

Peter Loron

unread,
Jun 2, 2015, 2:52:59 PM6/2/15
to ansible...@googlegroups.com
I think it is "playbook_dir". You can also get the path of the current role as "role_path".

-Pete
Reply all
Reply to author
Forward
0 new messages