Skip to content

Instantly share code, notes, and snippets.

@cnf
Created October 29, 2017 11:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save cnf/167d19a6271aafa0dafab1a270476491 to your computer and use it in GitHub Desktop.
Save cnf/167d19a6271aafa0dafab1a270476491 to your computer and use it in GitHub Desktop.
Ansible Tower Credential Type for vmware.py
env:
VMWARE_HOST: '{{hostname}}'
VMWARE_PASSWORD: '{{password}}'
VMWARE_SERVER: '{{hostname}}'
VMWARE_SSLCHECK: '{{ "True" if checkssl else "False" }}'
VMWARE_USER: '{{username}}'
VMWARE_USERNAME: '{{username}}'
VMWARE_VALIDATE_CERTS: '{{ "True" if checkssl else "False" }}'
fields:
- type: string
id: hostname
label: Hostname
- type: string
id: username
label: Username
- secret: true
type: string
id: password
label: Password
- type: boolean
id: checkssl
label: Check SSL
required:
- hostname
- username
- password
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment