简体   繁体   English

在 Ansible Tower GUI 中设置凭据

[英]Setting credential in Ansible Tower GUI

I chose credential type as 'Machine'.我选择凭据类型为“机器”。

What are the required parameters for the Username and Password fields to set up a bare-minimum credential.用户名和密码字段需要哪些参数才能设置最低限度的凭据。 Upon trying multiple times, I get :多次尝试后,我得到:

Enter passphrase for /tmp/awx_1977135_t5pmrI/credential_4343:输入 /tmp/awx_1977135_t5pmrI/credential_4343 的密码:

with no option to input anything.没有选项可以输入任何内容。

You just need to create Username and Password.您只需要创建用户名和密码。 You can also provide the privilege escalation method(for eg: sudo).您还可以提供提权方法(例如:sudo)。 Make sure the password is in encrypted format.It is mentioned in the known issues确保密码采用加密格式。已知问题中有提到

If your Tower server has a version of OpenSSH that predates 5.7, jobs will fail when launched jobs with ECDSA credentials.

If the key is unencrypted, your job will fail with a message similar to:
Enter passphrase for /tmp/ansible_tower_RcQweY/tmph9Jote:

https://docs.ansible.com/ansible-tower/3.0/html/release-notes/known_issues.html https://docs.ansible.com/ansible-tower/3.0/html/release-notes/known_issues.html

You can also try to delete the one which you created and create from scratch.您也可以尝试删除您创建的并从头开始创建的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM