Awx: Add Prompt on Launch Checkbox for Machine Credential Username

Created on 15 Jun 2019  ยท  5Comments  ยท  Source: ansible/awx

ISSUE TYPE
  • Feature Idea
SUMMARY


Add a prompt on launch option for username within machine credentials

api ui low needs_devel enhancement

Most helpful comment

Right but in that case, we need to have a credential created and stored in the tower which we can select when prompted. We are looking at a way of running the playbook to provide both username and password on the prompt. Would that be a possibility to be implemented?

All 5 comments

The prompt-on-launch for cred fields is for secrets; the username isn't a secret, and is best done by having a credential that defines the username.

The creds to login to each network device is using their own username and password. Since tower doesn't have object mapping with TACACS, we would have to create machine credential for each user in the tower and keep changing it in the playbook before launching it. So instead of adding each user details, if the option was to have username field as well on 'prompt launch, a user can provide their respective credentials and run the script.

You can prompt on launch for the entire credential.

Right but in that case, we need to have a credential created and stored in the tower which we can select when prompted. We are looking at a way of running the playbook to provide both username and password on the prompt. Would that be a possibility to be implemented?

We would need this too,
maybe a new credential type like "Generic login password", that would prompt for both username and password and not be remembered like using a survey does.
Machine credential already does this for password field ans such, but not login.

Was this page helpful?
0 / 5 - 0 ratings