diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 272c4c28085d017a8dc373083370e5e8620bc1cf..40da83a8936c6cebbcc5d8891e84c1a896955bbd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,6 +10,8 @@ stages: # List of stages for jobs, and their order of execution variables: # CI_DEBUG_TRACE: "true" SCENARIO: "default" + ANSIBLE_FORCE_COLOR: 'true' + PY_COLORS: '1' default: before_script: @@ -26,9 +28,9 @@ test-job: - "shell" script: # make sure that Ansible Vaults are present and can be decrypted - - echo "${VAULT_INSTALL_COMMON}" > ../../../lza_install_common.pass - - echo "${VAULT_ROSETTA_APP}" > ../../../lza_rosetta_app.pass - - export ANSIBLE_VAULT_IDENTITY_LIST="../../../lza_install_common.pass, ../../../lza_rosetta_app.pass" + - echo "${VAULT_INSTALL_COMMON}" > ${CI_PROJECT_DIR}/molecule/${SCENARIO}/../../../lza_install_common.pass + - echo "${VAULT_ROSETTA_APP}" > ${CI_PROJECT_DIR}/molecule/${SCENARIO}/../../../lza_rosetta_app.pass + - export ANSIBLE_VAULT_IDENTITY_LIST="${CI_PROJECT_DIR}/molecule/${SCENARIO}/../../../lza_install_common.pass, ${CI_PROJECT_DIR}/molecule/${SCENARIO}/../../../lza_rosetta_app.pass" - rm -rf ../ansible_vaults/ - rm -rf ../ansible_lza_install_common/ - git clone https://gitlab+deploy-token-25:${VAULT_ACCESS_TOKEN}@git.slub-dresden.de/slub-referat-2-3/ansible_vaults.git ../ansible_vaults/;