custom credential type for nutanix prism central

hello - can anyone help me with what we need to do to create a credential to access our nutanix cluster prism central so we can leverage this collection?

https://github.com/nutanix/nutanix.ansible

This should achievable with the custom credential types feature, see the docs on how to set one up https://docs.ansible.com/automation-controller/latest/html/userguide/credential_types.html#custom-credential-types

let us know if you run into trouble getting it configured

AWX Team

Yes thanks that was what i needed and used extra_vars for my injectors:

Inputs:
fields:

  • id: nutanix_host
    type: string
    label: Nutanix Host IP
  • id: nutanix_username
    type: string
    label: Username
  • id: nutanix_password
    type: string
    label: Password
    secret: true
    required:
  • nutanix_host
  • nutanix_username
  • nutanix_password

Injectors:
extra_vars:
nutanix_host: ‘{{ nutanix_host }}’
nutanix_password: ‘{{ nutanix_password }}’
nutanix_username: ‘{{ nutanix_username }}’

this works with the following playbook settings: