|
|
|
@ -25,7 +25,7 @@ if (binding.hasVariable('extraVariables')) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
def filename = 'xvars-' + smardigoManagementAction + '-' + execution.getProcessInstanceId() + '.yml'
|
|
|
|
def filename = 'xvars-' + smardigoManagementAction + '-' + execution.getProcessInstanceId() + '.yml'
|
|
|
|
def ansibleCommand= 'ansible-playbook ' + smardigoManagementAction + '.yml --vault-password-file ~/vault-pass -e "@' + filename + '"'
|
|
|
|
def ansibleCommand= 'ansible-playbook ' + smardigoManagementAction + '.yml --vault-password-file ~/vault-pass-' + envStage + ' -e "@' + filename + '"'
|
|
|
|
def ansibleVariables= 'cat <<EOT >> ' + filename + '\n'
|
|
|
|
def ansibleVariables= 'cat <<EOT >> ' + filename + '\n'
|
|
|
|
ansibleVariables+= '---\n'
|
|
|
|
ansibleVariables+= '---\n'
|
|
|
|
env.each { key, val ->
|
|
|
|
env.each { key, val ->
|
|
|
|
|