Awx: If a Credential is configured with POL fields, JT launches do not work

Created on 15 Dec 2020  ·  5Comments  ·  Source: ansible/awx

ISSUE TYPE
  • Bug Report
SUMMARY

Starting a template with an ssh machine credential that is configured to prompt for the private key fails:
image

Please note that the prompts do not even offer the option to provide the credentials

ENVIRONMENT
  • AWX version: 16.0.0.
  • AWX install method: docker on linux
  • Ansible version: 2.9.15
  • Operating System: Fedora 33
  • Web Browser: Firefox 83
STEPS TO REPRODUCE
  • Create a maschine credential with an encrypted SSH key and "SSH private key password" set to "Prompt on launch"
  • If you want also create a vault credential with "Prompt on launch"
  • Assign the newly created credentials to any template
  • Try running the template
EXPECTED RESULTS
  • The template should prompt for the credentil passwords
ACTUAL RESULTS
  • Failure to start the task because required dependencies are not satisfied.
community duplicate high needs_devel bug

All 5 comments

Experiencing same problem.

Note: this likely affects JT Schedules and Workflow Node Prompts, too

Sorry, the boards view played tricks on me :/

@unlikelyzero Can you move this back to "Backlog" so it gets picked up? I accidentally moved it to "In Progess" via close/open.

@apollo13 thanks for filing this. It turns out that this is already a known gap in the current implementation. You can subscribe to https://github.com/ansible/awx/issues/7015 to see when it's going to be merged and available in devel!

Was this page helpful?
0 / 5 - 0 ratings