hello,
come accross a problem,
there is this special hosts, i just cannot use ansible to become root user;
here is the ouput
[root@localhost ~]# ansible host1 -m raw -a 'uname -a' -u admin4A -b
--become-method=su -k -K
SSH password:
SU password[defaults to SSH password]:
10.223.25.101 | FAILED | rc=0 >>
Timeout (32s) waiting for privilege escalation prompt:
then i login to the remote host, type su command, the prompt is chinese;
admin4A@vgopserver1:~> su -
口令:
i checked the ansible/playbook/play_context.py , the new prompt is not in
the SU_PROMPT_LOCALIZATIONS list;
but it still didnot work after i put the "口令" into the SU_PROMPT_LOCALIZATIONS
list;
any idea? did i modify the right python file ?
when i change the remote host lang to en.US, all things goes well; but i
still need to solve this prompt problem in ansible ? any help
--
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/2016082416381833673956%40foxmail.com.
For more options, visit https://groups.google.com/d/optout.