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:
---
- name: Clusters_Info playbook
hosts: nutanix
gather_facts: false
collections:
- nutanix.ncp
module_defaults:
group/nutanix.ncp.ntnx:
nutanix_host: "{{ nutanix_host }}"
nutanix_username: "{{ nutanix_username }}"
nutanix_password: "{{ nutanix_password }}"
validate_certs: false