Skip to content
Snippets Groups Projects
Commit 21e3e5a9 authored by Jörg Sachse's avatar Jörg Sachse
Browse files

fix: path to Ansible Vault password file

parent b2df5999
No related branches found
No related tags found
No related merge requests found
Pipeline #5983 failed
......@@ -12,6 +12,9 @@ default:
- source /opt/molecule/bin/activate
- ansible --version
- molecule --version
variables:
ANSIBLE_FORCE_COLOR: 'true'
PY_COLORS: '1'
test-job:
stage: test
......@@ -19,8 +22,8 @@ test-job:
- "shell"
script:
# make sure that Ansible Vaults are present and can be decrypted
- echo "${VAULT_INSTALL_COMMON}" > ../../../lza_install_common.pass
- export ANSIBLE_VAULT_PASSWORD_FILE=../../../lza_install_common.pass
- echo "${VAULT_INSTALL_COMMON}" > ../lza_install_common.pass
- export ANSIBLE_VAULT_PASSWORD_FILE=../lza_install_common.pass
- rm -rf ../ansible_vaults/
- git clone https://gitlab+deploy-token-25:${VAULT_ACCESS_TOKEN}@git.slub-dresden.de/slub-referat-2-3/ansible_vaults.git ../ansible_vaults/; \
# run Molecule tests
......
......@@ -15,9 +15,9 @@
enabled: true
name: "slub"
pdiffs: true
signed_by: "{{ vault_debrepo_url }}deb-repository/pub.gpg.key"
signed_by: "https://sdvdebianrepo.slub-dresden.de/deb-repository/pub.gpg.key"
suites: "{{ ansible_lsb.codename }}"
uris: "{{ vault_debrepo_url }}deb-repository"
uris: "https://sdvdebianrepo.slub-dresden.de/deb-repository"
notify: update apt cache
become: true
handlers:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment