Replace home_dir var with ansible_env.HOME, use ansible_env.USER