From ac25ea1bdaa9bf7205c5c88737d2a30ba6c1aaf3 Mon Sep 17 00:00:00 2001 From: Antonio Calanducci Date: Mon, 15 Jan 2024 10:52:00 +0100 Subject: [PATCH] Add parthenosvo group vars and invenctory --- .../is_registry_parthenosvo.yml | 14 ++++++++++++++ inventory/hosts.registry_parthenosvo | 6 ++++++ is-registry.yml | 2 +- 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 group_vars/is_registry_parthenosvo/is_registry_parthenosvo.yml create mode 100644 inventory/hosts.registry_parthenosvo diff --git a/group_vars/is_registry_parthenosvo/is_registry_parthenosvo.yml b/group_vars/is_registry_parthenosvo/is_registry_parthenosvo.yml new file mode 100644 index 0000000..fad4a73 --- /dev/null +++ b/group_vars/is_registry_parthenosvo/is_registry_parthenosvo.yml @@ -0,0 +1,14 @@ +start_scopes: 'ParthenosVO' +complete_start_scope: '/d4science.research-infrastructures.eu/ParthenosVO' +gcore_host: 'registry-parthenosvo.d4science.org' +collector_host: 'collector-parthenosvo.d4science.org' +collector_url: 'http://collector-parthenosvo.d4science.org:8080' +infrastructure: 'd4science.research-infrastructures.eu' +is_registry_docker_stack_name: 'gcore-parthenosvo' +is_registry_docker_service_server_name: 'is-registry' +infra: 'prod' + + + + + diff --git a/inventory/hosts.registry_parthenosvo b/inventory/hosts.registry_parthenosvo new file mode 100644 index 0000000..eefd28c --- /dev/null +++ b/inventory/hosts.registry_parthenosvo @@ -0,0 +1,6 @@ +[is_registry_parthenosvo] +#10.1.28.135 +10.1.40.31 + + + diff --git a/is-registry.yml b/is-registry.yml index 9d8139e..a11ba9b 100644 --- a/is-registry.yml +++ b/is-registry.yml @@ -2,7 +2,7 @@ - name: Configurazione IS Registry Service #hosts: is_registry_devsec:is_registry_devnext hosts: all - tasks: + pre_tasks: - name: Set gcube security keys variables properly according to the environment set_fact: gcube_security_keys: "{{ gcube_prod_security_keys if infra == 'prod' else gcube_preprod_security_keys if infra == 'pre' else gcube_dev_security_keys }}"