mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-04 09:21:42 +02:00
Renamed cymais to infinito and did some other optimations and logout implementations
This commit is contained in:
@@ -10,8 +10,8 @@ This Ansible role is designed to ensure the health of Docker containers running
|
||||
- `handlers/main.yml`: Handlers to reload and restart the systemd service and timer.
|
||||
- `files/sys-hlth-docker-container.sh`: The script that checks the container health.
|
||||
- `tasks/main.yml`: Tasks to create necessary directories, copy scripts, and create systemd service and timer.
|
||||
- `templates/sys-hlth-docker-container.cymais.service.j2`: Systemd service template.
|
||||
- `templates/sys-hlth-docker-container.cymais.timer.j2`: Systemd timer template.
|
||||
- `templates/sys-hlth-docker-container.infinito.service.j2`: Systemd service template.
|
||||
- `templates/sys-hlth-docker-container.infinito.timer.j2`: Systemd timer template.
|
||||
- `meta/main.yml`: Meta information declaring dependencies for the role.
|
||||
|
||||
## Usage
|
||||
|
@@ -1,5 +1,5 @@
|
||||
- name: "reload sys-hlth-docker-container.cymais.service"
|
||||
- name: "reload sys-hlth-docker-container.infinito.service"
|
||||
systemd:
|
||||
name: sys-hlth-docker-container.cymais.service
|
||||
name: sys-hlth-docker-container.infinito.service
|
||||
enabled: yes
|
||||
daemon_reload: yes
|
||||
|
@@ -6,7 +6,7 @@ galaxy_info:
|
||||
Kevin Veen-Birkenbach
|
||||
Consulting & Coaching Solutions
|
||||
https://www.veen.world
|
||||
license: "CyMaIS NonCommercial License (CNCL)"
|
||||
license: "Infinito.Nexus NonCommercial License (CNCL)"
|
||||
license_url: "https://s.veen.world/cncl"
|
||||
min_ansible_version: "2.9"
|
||||
platforms:
|
||||
@@ -18,7 +18,7 @@ galaxy_info:
|
||||
- containers
|
||||
- health
|
||||
- systemd
|
||||
repository: "https://s.veen.world/cymais"
|
||||
documentation: "https://s.veen.world/cymais"
|
||||
repository: "https://github.com/kevinveenbirkenbach/infinito-nexus"
|
||||
documentation: "https://docs.infinito.nexus"
|
||||
dependencies:
|
||||
- sys-alm-compose
|
||||
|
@@ -11,11 +11,11 @@
|
||||
dest: "{{health_docker_container_folder}}sys-hlth-docker-container.sh"
|
||||
when: run_once_health_docker_container is not defined
|
||||
|
||||
- name: create sys-hlth-docker-container.cymais.service
|
||||
- name: create sys-hlth-docker-container.infinito.service
|
||||
template:
|
||||
src: sys-hlth-docker-container.service.j2
|
||||
dest: /etc/systemd/system/sys-hlth-docker-container.cymais.service
|
||||
notify: reload sys-hlth-docker-container.cymais.service
|
||||
dest: /etc/systemd/system/sys-hlth-docker-container.infinito.service
|
||||
notify: reload sys-hlth-docker-container.infinito.service
|
||||
when: run_once_health_docker_container is not defined
|
||||
|
||||
- name: "set 'service_name' to '{{ role_name }}'"
|
||||
|
@@ -1,6 +1,6 @@
|
||||
[Unit]
|
||||
Description=Checking docker health
|
||||
OnFailure=sys-alm-compose.cymais@%n.service
|
||||
OnFailure=sys-alm-compose.infinito@%n.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
Reference in New Issue
Block a user