|
|
|
@ -26,7 +26,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-' + envStage + ' -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 ->
|
|
|
|
if (val instanceof List) {
|
|
|
|
if (val instanceof List) {
|
|
|
|
|