diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 55bee84d5964fc47fc6fb5c44582516508dfee05..47524b10315c25193fad2f43d33973a786e62771 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,8 +19,8 @@ test-job: - "shell" script: # make sure that Ansible Vaults are present and can be decrypted - - echo "${VAULT_INGEST}" > ../lza_ingest.pass - - export ANSIBLE_VAULT_PASSWORD_FILE=../lza_ingest.pass + - echo "${VAULT_INGEST}" > ../../../lza_ingest.pass + - export ANSIBLE_VAULT_PASSWORD_FILE=../../../lza_ingest.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 diff --git a/molecule/virtualbox_debian11/molecule.yml b/molecule/virtualbox_debian11/molecule.yml index 47ae99907670ecac712149d950b77db07de1b178..bea7d2e6f5b3235fea8ed0f07c7de7b1077eed99 100644 --- a/molecule/virtualbox_debian11/molecule.yml +++ b/molecule/virtualbox_debian11/molecule.yml @@ -21,7 +21,7 @@ platforms: # Dictionary of `config` options. config_options: ssh.keep_alive: true - ssh.remote_user: "'lza'" + ssh.remote_user: "lza" provisioner: name: ansible log: true @@ -29,7 +29,7 @@ provisioner: defaults: # https://stackoverflow.com/questions/57435811/ansible-molecule-pass-multiple-vault-ids # vault_identity_list: "@$HOME/.ansible/roles/lza_install_common.pass, @$HOME/.ansible/roles/passfile_1.pass" - vault_identity_list: "../lza_ingest.pass" + vault_identity_list: "../../../lza_ingest.pass" vvv: false playbooks: # create: ../resources/playbooks/create.yml