Removed the reference to the auth.

This commit is contained in:
Andrea Dell'Amico 2023-12-06 18:15:31 +01:00
parent 6158d3c93c
commit e922c123ef
Signed by: andrea.dellamico
GPG Key ID: 147ABE6CEB9E20FF
2 changed files with 21 additions and 21 deletions

View File

@ -1,27 +1,19 @@
galaxy_info:
author: Giancarlo Panichi
description: Software Analyst
description: Role that installs the information system GUI
namespace: giancarlo_panichi
role_name: information_system_gui
company: ISTI-CNR
issue_tracker_url: https://support.d4science.org/projects/d4science-operation
license: EUPL 1.2+
min_ansible_version: 2.8
min_ansible_version: "2.15"
# To view available platforms and versions (or releases), visit:
# https://galaxy.ansible.com/api/v1/platforms/
#
platforms:
- name: Ubuntu
versions:
- bionic
- name: EL
versions:
- 7
galaxy_tags:
- information-system-gui
dependencies:
dependencies: []

View File

@ -1,19 +1,27 @@
---
- name: Manage the installation of the Information System GUI configuration of the swarm service
when: docker_swarm_manager_node is defined and docker_swarm_manager_node
tags: ['information_system_gui', 'information_system_gui_swarm', 'information_system_gui_server']
block:
- name: Create the directory where the compose file will be placed
file: dest={{ information_system_gui_compose_dir }} state=directory owner=root group=root mode=0750
ansible.builtin.file:
dest: "{{ information_system_gui_compose_dir }}"
state: directory
owner: root
group: root
mode: "0750"
- name: Install the docker compose file
template: src=information_system_gui_docker_compose.yml.j2 dest={{ information_system_gui_compose_dir }}/docker_information_system_gui_stack.yml owner=root group=root mode='0400'
ansible.builtin.template:
src: information_system_gui_docker_compose.yml.j2
dest: "{{ information_system_gui_compose_dir }}/docker_information_system_gui_stack.yml"
owner: root
group: root
mode: '0400'
- name: Start the Information System GUI stack
docker_stack:
community.docker.docker_stack:
name: '{{ information_system_gui_docker_stack_name }}'
state: present
with_registry_auth: True
compose:
- '{{ information_system_gui_compose_dir }}/docker_information_system_gui_stack.yml'
when: docker_swarm_manager_node is defined and docker_swarm_manager_node
tags: [ 'information_system_gui', 'information_system_gui_swarm', 'information_system_gui_server' ]