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

ansible docker接入跳板机无法推送用户 #638

Closed
guoyinzhao opened this Issue Aug 22, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@guoyinzhao

guoyinzhao commented Aug 22, 2017

Authentication or permission failure. In some cases, you may have been able to authenticate and did not have permissions on the remote directory. Consider changing the remote temp path in ansible.cfg to a path rooted in "/tmp". Failed command was: mkdir -p $HOME/.ansible/tmp/ansible-tmp-1503392205.16-46743311566194 && echo $HOME/.ansible/tmp/ansible-tmp-1503392205.16-46743311566194, exited with result 254

@guoyinzhao

This comment has been minimized.

Show comment
Hide comment
@guoyinzhao

guoyinzhao Aug 28, 2017

已解决,ansible远程推送问题,因为没自动生成/etc/ansible的配置文件目录,手动创建了放上去的,在配置文件中变更的临时文件目录为/tmp,回避推送用户时的权限报错。
vim /etc/ansible/ansible.cfg
将remote_tmp = $HOME/.ansible/tmp手动改成
remote_tmp = /tmp

guoyinzhao commented Aug 28, 2017

已解决,ansible远程推送问题,因为没自动生成/etc/ansible的配置文件目录,手动创建了放上去的,在配置文件中变更的临时文件目录为/tmp,回避推送用户时的权限报错。
vim /etc/ansible/ansible.cfg
将remote_tmp = $HOME/.ansible/tmp手动改成
remote_tmp = /tmp

@ibuler ibuler changed the title from docker接入跳板机无法推送用户 to ansible docker接入跳板机无法推送用户 Sep 28, 2017

@ibuler

This comment has been minimized.

Show comment
Hide comment
@ibuler

ibuler Sep 28, 2017

Member

描述一下你的系统版本,我没有遇到该问题

Member

ibuler commented Sep 28, 2017

描述一下你的系统版本,我没有遇到该问题

@ibuler ibuler added the bug label Sep 28, 2017

@ibuler ibuler added this to the 0.4.0-stable milestone Sep 28, 2017

@ibuler ibuler closed this Jan 15, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment