PWD is a bad option because it reflects 'directory in which user was
when he executed ansible-playbook', i.e `cd /var/tmp; ansible-playbook
~/work/secure/play.yml`

I would use playbook_dir or role_path as those are predictable
relative to the task definition or you can always define a 'project'
var and pass that when invoking the play.


-- 
----------
Brian Coca

-- 
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/CACVha7f1Y3Zy9evYwqCJ_4R5TCqnmtwLmLNE3JKQ3aL6m-9uTQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to