Add group vars and invenctory for sobigdata
This commit is contained in:
parent
153b75433e
commit
8e5df21929
|
@ -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
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
[is_registry_sobigdata]
|
||||||
|
10.1.40.31
|
|
@ -106,3 +106,21 @@
|
||||||
state: present
|
state: present
|
||||||
compose:
|
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®ular=false&external=true&orphaned=false"
|
||||||
|
tags:
|
||||||
|
- deploy
|
|
@ -86,3 +86,8 @@
|
||||||
state: present
|
state: present
|
||||||
compose:
|
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
|
Loading…
Reference in New Issue