Hi, I thought I share some info on what took me a few hours of debugging to discover when it comes to using ansible to hydrate ubuntu-based instances using cloud-init.
It looks like cloud-init doesn't set HOME variable which prevents a number of modules from working correctly. The modules that tripped me were copy and template, but I suspect there will be others too. So if you run into issues with ansible (or ansible-pull) do make sure HOME is actually set. (issue opened here: https://github.com/ansible/ansible/issues/31617) kind regards Pshem -- 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/CAEaZiRUS9pEgAYWzNG%3DuHJzRsJRKdi%2B2J%3DtyVCs56LJWDRrLuw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
