Groups
Groups
Sign in
Groups
Groups
Ansible Project
Conversations
About
Send feedback
Help
get name path of current playbook
34 views
Skip to first unread message
Jeff Reter
unread,
Jun 2, 2015, 8:12:14 AM
6/2/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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 PM
6/2/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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