diff --git a/Jenkinsfile b/Jenkinsfile index b06e1c2..aa6c4c7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -61,7 +61,6 @@ pipeline { def limitFlag = limitValue ? "--limit \"${limitValue}\"" : '' def checkFlag = (params.DRY_RUN == true) ? '--check --diff' : '' - def extraVars = (params.CLEANUP_SNAPSHOTS == true) ? "-e cleanup_old_snapshots=true" : '' echo "DRY_RUN parameter: ${params.DRY_RUN}" echo "Check flag: '${checkFlag}'" @@ -76,8 +75,7 @@ pipeline { playbooks/${params.PLAYBOOK} \ ${limitFlag} \ ${checkFlag} \ - ${extraVars} \ - -v + ${extraVars} """ } }