Skip to content
Snippets Groups Projects
Commit 1c5c697b authored by Jörg Sachse's avatar Jörg Sachse
Browse files
parents 6b0c09d2 66789699
No related branches found
No related tags found
No related merge requests found
Pipeline #8656 failed
......@@ -27,7 +27,8 @@ test-job:
script:
# make sure that Ansible Vaults are present and can be decrypted
- echo "${VAULT_SANITYTEST}" > ../lza_sanitytest.pass
- export ANSIBLE_VAULT_IDENTITY_LIST="../lza_sanitytest.pass"
#- export ANSIBLE_VAULT_IDENTITY_LIST="../../../lza_sanitytest.pass"
#- export ANSIBLE_VAULT_IDENTITY_LIST="../lza_sanitytest.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
......
......@@ -12,7 +12,7 @@ platforms:
# Check out the documentation at
# https://github.com/ansible-community/molecule-vagrant#documentation
# for more platform parameters.
- name: mol-samity
- name: mol-sanity
box: debian/bookworm64
memory: 1024
# List of raw Vagrant `config` options.
......@@ -28,7 +28,7 @@ provisioner:
config_options:
defaults:
# https://stackoverflow.com/questions/57435811/ansible-molecule-pass-multiple-vault-ids
vault_identity_list: "../../../lza_sanitytest.pass"
vault_identity_list: " ../lza_sanitytest.pass, ../../../lza_sanitytest.pass"
vvv: false
playbooks:
# create: ../resources/playbooks/create.yml
......
......@@ -14,7 +14,9 @@
name: [
'cifs-utils',
'cpanminus',
'gcc',
'git',
'libxml2',
'make',
'perl',
'perl-base',
......@@ -41,6 +43,7 @@
- name: install Perl packages from CPAN
community.general.cpanm:
name: "{{ item }}"
mode: "new"
loop:
# these are part of the "perl-base" Debian 10 package, so we get them for free:
# - "Carp"
......@@ -50,7 +53,8 @@
# - "IO::Handle"
# and these are not, so they must be installed using cpanm:
- "Bloom::Filter"
- "File::Find"
- "File::Find" # For some reason unknown, this package is not idempotent.
- "File::Sort"
- "Path::Tiny"
- "XML::LibXML::XPathContext"
changed_when: false
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment