Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove temporal deployment tasks from enduro role #4

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# ansible-enduro-temporal
Ansible role for deploying Enduro and Temporal
# ansible-enduro-legacy
Ansible role for deploying legacy Enduro
75 changes: 0 additions & 75 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ enduro_system_group: "enduro"
enduro_systemd_after_services: "network.target temporal.service"
enduro_systemd_wantedby_services: "multi-user.target"
enduro_temporal_namespace: "default" # By default only temporal-system namespace exists
enduro_temporal_namespace_retention_period: 60 # In days
enduro_debug_verbosity: 2
enduro_debug_enabled: "true"
enduro_listen_temporal_address: "127.0.0.1:7233"
Expand Down Expand Up @@ -80,77 +79,3 @@ enduro_minio_pipelines: []
# watched_retentionPeriod: "10s"
# watched_stripTopLevelDir: "true"
# watched_rejectDuplicates: "false"

# tctl variables
tctl_version: "1.18.0"
tctl_binary_install_dir: "/usr/local/bin"

tctl_install_rpm: False
tctl_rpm_url: "https://packages.archivematica.org/1.15.x/rocky9-extras/tctl-1.18.0-1.el9.x86_64.rpm"
tctl_rpm_gpg_check_enabled: True
tctl_rpm_gpg_key: "{{ enduro_rpm_gpg_key }}"

# Temporal internal variables
temporal_version: "1.21.1"
temporal_env: "temporal" # the systemd will call /etc/temporal/config/{{ temporal_env }}.yaml file
temporal_systemd_after_services: "{% if ansible_os_family in ['RedHat','Rocky'] %}network.target mysqld.service{% else %}network.target mysql.service{% endif %}"
temporal_systemd_wantedby_services: "enduro.service"
temporal_binary_install_dir: "/usr/local/bin"
temporal_schema_install_dir: "/usr/share/temporal"
temporal_schema_plugin_path: "{% if temporal_mysql_plugin == 'mysql' %}{{ temporal_schema_install_dir }}/schema/mysql/v57{% elif temporal_mysql_plugin == 'mysql8' %}{{ temporal_schema_install_dir }}/schema/mysql/v8{% endif %}" # IF not using mysql or mysql8 plugin, set this path in your group or host vars
temporal_system_user: "temporal"
temporal_system_group: "temporal"
temporal_mysql_plugin: "mysql" # USe "mysql8" for MySQL 8

temporal_service_pprof_port: "7936"
temporal_broadcast_address: "127.0.0.1"
temporal_rpc_address: "localhost"
temporal_service_prometheus_listenaddress: "127.0.0.1:7401"
temporal_service_frontend_grpc_port: "7233"
temporal_service_frontend_membership_port: "6933"
temporal_service_matching_grpc_port: "7235"
temporal_service_matching_membership_port: "6935"
temporal_service_history_grpc_port: "7234"
temporal_service_history_membership_port: "6934"
temporal_service_worker_grpc_port: "7239"
temporal_service_worker_membership_port: "6939"

temporal_archival_history_state: "enabled"
temporal_archival_history_URI: "file:///tmp/temporal_archival/development"

temporal_install_rpm: False
temporal_rpm_url: "https://packages.archivematica.org/1.15.x/rocky9-extras/temporal-1.22.0-1.el9.x86_64.rpm"
temporal_rpm_gpg_check_enabled: True
temporal_rpm_gpg_key: "{{ enduro_rpm_gpg_key }}"

# Temporal database
temporal_db_user: "temporal"
temporal_db_pass: "temporal123P$"
temporal_db_host: "localhost"
temporal_db_name: "temporal"
temporal_db_port: "3306"

# Visibility database
temporal_visibility_db_user: "visibility"
temporal_visibility_db_pass: "visibility123P$"
temporal_visibility_db_host: "localhost"
temporal_visibility_db_name: "visibility"
temporal_visibility_db_port: "3306"

# Temporal ui
temporal_ui_install: True

temporal_ui_env: "{{ temporal_env }}"
temporal_ui_systemd_after_services: "network.target temporal.service"
temporal_ui_system_user: "{{ temporal_system_user }}"

temporal_ui_host: "localhost"
temporal_ui_port: 8080

temporal_ui_rpm_url: "https://packages.archivematica.org/1.15.x/rocky9-extras/temporal-ui-server-2.20.0-1.el9.x86_64.rpm"
temporal_ui_rpm_gpg_check_enabled: True
temporal_ui_rpm_gpg_key: "https://packages.archivematica.org/GPG-KEY-archivematica-sha512"


temporal_ui_deb_url: "https://packages.archivematica.org/1.15.x/ubuntu-externals/pool/main/t/temporal-ui/temporal-ui_2.20.0-1~focal_amd64.deb"
#temporal_ui_deb_url: "https://packages.archivematica.org/1.15.x/ubuntu-externals/pool/main/t/temporal-ui/temporal-ui_2.20.0-1~jammy_amd64.deb"
7 changes: 0 additions & 7 deletions handlers/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,3 @@
daemon_reload: true
name: enduro
state: restarted

- name: restart temporal
become: true
systemd:
daemon_reload: true
name: temporal
state: restarted
4 changes: 2 additions & 2 deletions meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
galaxy_info:
author: Artefactual
description: Deploy enduro and temporal
role_name: enduro-temporal
description: Deploy enduro legacy
role_name: enduro-legacy
license: AGPL3
company: Artefactual
min_ansible_version: 2.9
Expand Down
39 changes: 0 additions & 39 deletions tasks/configure-temporal-ui.yml

This file was deleted.

79 changes: 0 additions & 79 deletions tasks/configure-temporal.yml

This file was deleted.

14 changes: 0 additions & 14 deletions tasks/install-tctl-rpm.yml

This file was deleted.

40 changes: 0 additions & 40 deletions tasks/install-tctl.yml

This file was deleted.

29 changes: 0 additions & 29 deletions tasks/install-temporal-rpm.yml

This file was deleted.

23 changes: 0 additions & 23 deletions tasks/install-temporal-ui.yml

This file was deleted.

Loading