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

feat: add check to see if we're running the tasks against a Rosetta-backed...

feat: add check to see if we're running the tasks against a Rosetta-backed SubApp server based on inventory group membership. This can later be reused to distinguish between Rosetta and Archivematica SubApp servers.
parent 6892a2ef
No related branches found
No related tags found
No related merge requests found
Pipeline #7760 failed
......@@ -15,6 +15,8 @@ platforms:
- name: sdvlzasubappmoleculetest
box: debian/bookworm64
memory: 1024
groups:
- "lza_ingest_molecule"
# List of raw Vagrant `config` options.
# provider_raw_config_args:
# - "customize [ 'modifyvm', :id, '--natdnshostresolver1', 'on' ]"
......
---
- name: |
Make sure that these tasks are only run against SubApp servers that are
used together with Rosetta. Archivematica-SubApp-VMs need to be provisioned
with another branch of this Ansible role.
ansible.builtin.assert:
that: "group_names | select('search', 'lza_ingest.*')"
fail_msg: This is not a SubApp VM for use with Rosetta. Aborting.
success_msg: This is a SubApp VM for use with Rosetta. Continuing.
- name: include vars main
ansible.builtin.include_vars: "main.yml"
tags: [always]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment