英文:
ansible --ask-become-pass hangs, seeming waiting for the password
问题
I have been getting to know ansible, and have successfully run several plays over the last couple of days, including those using --ask-become-pass
.
Suddenly, if I use --ask-become-pass
, I get the usual prompt for the BECOME password, but it is as though the return key is broken, and all I can do it ctrl-c
out.
Running without --ask-become-pass
works fine (apart from the lack of permissions).
Running with an additional -vvv
gives me some version info before the prompt, but no hints on the reason for the problem.
ansible-playbook [core 2.14.3]
...
Running with ANSIBLE_DEBUG=1
gives me an additional line of logging:
18665 1681123351.90242: starting run
Any hints on how to fix the problem?
英文:
I have been getting to know ansible, and have successfully run several plays over the last couple of days, including those using --ask-become-pass
.
Suddenly, if I use --ask-become-pass
, I get the usual prompt for the BECOME password, but it is as though the return key is broken, and all I can do it ctrl-c
out.
Running without --ask-become-pass
works fine (apart from the lack of permissions).
Running with an additional -vvv
gives me some version info before the prompt, but no hints on the reason for the problem.
ansible-playbook [core 2.14.3]
...
Running with ANSIBLE_DEBUG=1
gives me an additional line of logging:
18665 1681123351.90242: starting run
Any hints on how to fix the problem?
答案1
得分: 0
看起来我的终端进入了奇怪的状态。输入 reset
足以解决问题。
英文:
It seems that my terminal had got into a strange state. Typing reset
was enough to solve the problem.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论