Just looking for possible better approaches for specifying a semi absolute path to include_tasks.
I've come up with this:
vars:
pwd: '{{ lookup("env", "PWD") }}'
And then constructing the include path with this variable (thus "rooting" the path to execution location).
Is there another way to construct an "absolute" (rooted) path (absolute to the top of the directory).
I've learned that ansible supports 'ansible_search_path' but that is set off of the originally loaded file.
Use case:
I have includes that include, and want to keep some path independence.
I want to have a completely self contained directory of files.
Thanks :-)