Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWX documentation on creating Custom credential types is off #15531

Open
5 of 11 tasks
markocelan opened this issue Sep 16, 2024 · 0 comments
Open
5 of 11 tasks

AWX documentation on creating Custom credential types is off #15531

markocelan opened this issue Sep 16, 2024 · 0 comments

Comments

@markocelan
Copy link

Please confirm the following

  • I agree to follow this project's code of conduct.
  • I have checked the current issues for duplicates.
  • I understand that AWX is open source software provided for free and that I might not receive a timely response.
  • I am NOT reporting a (potential) security vulnerability. (These should be emailed to [email protected] instead.)

Bug Summary

While reading documentation https://ansible.readthedocs.io/projects/awx/en/latest/userguide/credential_types.html#create-a-new-credential-type one would be mislead to use awx for prefix in Injector templating, but the working prefix is tower as described in Ansible Automation platform (aka Tower) documentation.
image

Weird thing is that in the code ( https://github.com/ansible/awx/blob/devel/docs/credentials/custom_credential_types.md ) there's also tower described as the prefix , so I suspect it must come from some kind of find&replace during documentation generation.

AWX version

24.6.1

Select the relevant components

  • UI
  • UI (tech preview)
  • API
  • Docs
  • Collection
  • CLI
  • Other

Installation method

kubernetes

Modifications

no

Ansible version

2.17.1

Operating system

Linux

Web browser

Firefox

Steps to reproduce

Try to create Custom Credential Type with injector configuration template using example from https://ansible.readthedocs.io/projects/awx/en/latest/userguide/credential_types.html#create-a-new-credential-type

Expected results

New Custom Credential Type is created as showed in documentation

Actual results

UI returns an error: MY_CERT_INI_FILE uses an undefined field ('awx' is undefined)

Additional information

Either documentation needs fixing or AWX should honor awx prefix as described in current documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant