-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"~username" in "file" not expanded #13
Comments
I see that this issue is addressed by pending pull request #10. |
I wouldn't hold your breath for them to merge in my PR. This project seems to be dead. If you need a workaround you can do something like |
Thanks for this workaround—much tidier than mine, which involved I hope development picks up again, because there doesn't seem to be another robust solution at this time for reading and writing XML from Ansible tasks. |
Caveat for anyone else following: templates are rendered locally, so - name: note absolute home directory location for XML manipulation
shell: echo ~user
changed_when: false
register: user_home_dir |
We're going to make an announcement about our livelihood very soon :-)
|
Closed when #10 was merged |
Given a call like this:
the following error occurs:
even though built-in Ansible modules correctly expand
~user
to the correct thing (which may not necessarily be/home/user
).The text was updated successfully, but these errors were encountered: