You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hetzner-ansible/smardigo/provisioning/script/create-awx-paramaters.groovy

19 lines
531 B
Groovy

def env = [
cluster_features: cluster_features,
cluster_name: cluster.name,
cluster_service: cluster.service,
cluster_size: cluster.size,
connect_image_version: connect.version,
current_realm_name: tenant.key,
current_realm_display_name: tenant.name,
process_instance_id: execution.getProcessInstanceId(),
scope_id: contextScopeId,
smardigo_management_action: smardigoManagementAction,
stage: cluster.stage,
tenant_id: tenant.key
]
if (binding.hasVariable('extraVariables')) {
env << extraVariables
}
env