mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Renamed cymais to infinito and did some other optimations and logout implementations
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
galaxy_info:
|
||||
author: "Kevin Veen-Birkenbach"
|
||||
description: "Updates Docker Compose instances by detecting changes in Docker image digests and rebuilding containers when necessary. This role automates Docker image pulls and container rebuilds."
|
||||
license: "CyMaIS NonCommercial License (CNCL)"
|
||||
license: "Infinito.Nexus NonCommercial License (CNCL)"
|
||||
license_url: "https://s.veen.world/cncl"
|
||||
company: |
|
||||
Kevin Veen-Birkenbach
|
||||
@@ -23,8 +23,8 @@ galaxy_info:
|
||||
- images
|
||||
- systemd
|
||||
- maintenance
|
||||
repository: "https://s.veen.world/cymais"
|
||||
issue_tracker_url: "https://s.veen.world/cymaisissues"
|
||||
documentation: "https://s.veen.world/cymais"
|
||||
repository: "https://github.com/kevinveenbirkenbach/infinito-nexus"
|
||||
issue_tracker_url: "https://github.com/kevinveenbirkenbach/infinito-nexus/issues"
|
||||
documentation: "https://docs.infinito.nexus"
|
||||
dependencies:
|
||||
- sys-lock
|
||||
|
@@ -1,6 +1,6 @@
|
||||
- name: "start sys-bkp-docker-2-loc-everything.cymais.service"
|
||||
- name: "start sys-bkp-docker-2-loc-everything.infinito.service"
|
||||
systemd:
|
||||
name: sys-bkp-docker-2-loc-everything.cymais.service
|
||||
name: sys-bkp-docker-2-loc-everything.infinito.service
|
||||
state: started
|
||||
when:
|
||||
- run_once_update_docker is not defined
|
||||
@@ -12,15 +12,15 @@
|
||||
dest: "{{update_docker_script}}"
|
||||
when: run_once_update_docker is not defined
|
||||
|
||||
- name: configure update-docker.cymais.service
|
||||
- name: configure update-docker.infinito.service
|
||||
template:
|
||||
src: update-docker.service.j2
|
||||
dest: /etc/systemd/system/update-docker.cymais.service
|
||||
dest: /etc/systemd/system/update-docker.infinito.service
|
||||
when: run_once_update_docker is not defined
|
||||
|
||||
- name: "restart update-docker.cymais.service"
|
||||
- name: "restart update-docker.infinito.service"
|
||||
systemd:
|
||||
name: update-docker.cymais.service
|
||||
name: update-docker.infinito.service
|
||||
state: restarted
|
||||
enabled: yes
|
||||
daemon_reload: yes
|
||||
|
@@ -149,7 +149,7 @@ def update_mastodon():
|
||||
Runs the database migration for Mastodon to ensure all required tables are up to date.
|
||||
"""
|
||||
print("Starting Mastodon database migration.")
|
||||
run_command("docker compose exec -T web bash -c 'RAILS_ENV={{ CYMAIS_ENVIRONMENT | lower }} bin/rails db:migrate'")
|
||||
run_command("docker compose exec -T web bash -c 'RAILS_ENV={{ INFINITO_ENVIRONMENT | lower }} bin/rails db:migrate'")
|
||||
print("Mastodon database migration complete.")
|
||||
|
||||
def upgrade_listmonk():
|
||||
|
@@ -1,6 +1,6 @@
|
||||
[Unit]
|
||||
Description=Updates Docker Instances
|
||||
OnFailure=sys-alm-compose.cymais@%n.service
|
||||
OnFailure=sys-alm-compose.infinito@%n.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
Reference in New Issue
Block a user