mirror of https://github.com/ansible/ansible.git
use expanduser() before testing user_data as file
I like to use ~/somepath instead of absolute paths because that's more shareable. Without expansion, the path wasn't considered a file, and the resulting cloud-config user_data contained a string for the file path instead of the file context. So, expand it.pull/18777/head
parent
762bd3a801
commit
57703450f5
Loading…
Reference in New Issue