Add group vars and invenctory for sobigdata

This commit is contained in:
Antonio Calanducci 2024-01-23 19:52:30 +01:00
parent 153b75433e
commit 8e5df21929
4 changed files with 37 additions and 2 deletions

View File

@ -0,0 +1,10 @@
start_scopes: SoBigData
complete_start_scope: /d4science.research-infrastructures.eu/SoBigData
gcore_host: registry-sbd.d4science.org
collector_host: collector-sbd.d4science.org
collector_url: http://collector-sbd.d4science.org:8080
is_registry_docker_stack_name: gcore-sobigdata
is_registry_docker_service_server_name: is-registry
infrastructure: d4science.research-infrastructures.eu
infra: prod

View File

@ -0,0 +1,2 @@
[is_registry_sobigdata]
10.1.40.31

View File

@ -105,4 +105,22 @@
name: '{{ is_registry_docker_stack_name }}'
state: present
compose:
- '{{ is_registry_compose_dir }}/is-registry-docker-compose.yml'
- '{{ is_registry_compose_dir }}/is-registry-docker-compose.yml'
register: result
tags:
- deploy
- name: Print info on stack
ansible.builtin.debug:
msg: "{{ result.stdout }}"
tags:
- deploy
- name: Print URL to portainer
ansible.builtin.debug:
msg: |
You can access the stack at:
https://portainer.cloud.d4science.org/#!/1/docker/stacks/{{ is_registry_docker_stack_name }}?type=1&regular=false&external=true&orphaned=false"
tags:
- deploy

View File

@ -85,4 +85,9 @@
name: '{{ resource_manager_docker_stack_name }}'
state: present
compose:
- '{{ resource_manager_compose_dir }}/resource-manager-docker-compose.yml'
- '{{ resource_manager_compose_dir }}/resource-manager-docker-compose.yml'
register: result
- name: Show stack information
ansible.builtin.debug:
var: result