Skip to content

Instantly share code, notes, and snippets.

@krispayne
Created September 27, 2018 20:34
Show Gist options
  • Save krispayne/926d5d7b4df195961799558fe6265739 to your computer and use it in GitHub Desktop.
Save krispayne/926d5d7b4df195961799558fe6265739 to your computer and use it in GitHub Desktop.
for freeipa source credential:
input config (yaml)
fields:
- type: string
id: fipahttps
label: HTTPS
default: True
- type: string
id: fipaserver
label: Server
- type: string
id: fipauser
label: User
- secret: true
type: string
id: fipapassword
label: Password
- type: string
id: fipaversion
label: IPA Version
default: 4.4.0
required:
- fipahttps
- fipaserver
- fipauser
- fipapassword
- fipaversion
Injector config (yaml)
env:
fipahttps: {{fipahttps}}
fipaserver: {{fipaserver}}
fipauser: {{fipauser}}
fipapassword: {{fipapassword}}
fipaversion: {{fipaversion}}
for ovirt source:
This required changing the python script a bit to look for the ini at the $ENV location
input config (yaml)
fields:
- type: string
id: ovirt_url
label: oVirt URL
- type: string
id: ovirt_username
label: Username
- secret: true
type: string
id: ovirt_password
label: Password
- type: string
id: ovirt_ca_file
label: oVirt CA File
required:
- ovirt_url
- ovirt_username
- ovirt_password
injector config (yaml)
env:
OVIRT_INI_FILE: '{{tower.filename}}'
file:
template: |-
[ovirt]
ovirt_url = {{ovirt_url}}
ovirt_username = {{ovirt_username}}
ovirt_password = {{ovirt_password}}
ovirt_ca_file = {{ovirt_ca_file}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment