mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-07-18 22:44:24 +02:00
Shorted generic- to gen-
This commit is contained in:
parent
8c411a21c7
commit
94bb060a5b
@ -14,8 +14,8 @@ For a complete list of role categories and detailed definitions, see:
|
||||
- **core-***
|
||||
Fundamental system configuration (SSH, journald, sudo, etc.)
|
||||
|
||||
- **generic-***
|
||||
Generic helpers and language/tool installers (e.g. `generic-git`, `generic-locales`, `generic-timer`)
|
||||
- **gen-***
|
||||
Generic helpers and language/tool installers (e.g. `gen-git`, `gen-locales`, `gen-timer`)
|
||||
|
||||
- **desk-***
|
||||
Desktop environment and application roles (e.g. `desk-gnome`, `utils-desk-browser`, `desk-libreoffice`)
|
||||
@ -111,7 +111,7 @@ For a complete list of role categories and detailed definitions, see:
|
||||
---
|
||||
|
||||
> **Tip:** To find a role quickly, search for its prefix:
|
||||
> `core-`, `generic-`, `desk-`, `webserver-`, `web-service-`, `web-app-`,
|
||||
> `core-`, `gen-`, `desk-`, `webserver-`, `web-service-`, `web-app-`,
|
||||
> `network-`, `service-`, `monitor-`, `alert-`, `maint-`, `cln-`,
|
||||
> `bkp-`, `update-`, `pkgmgr-`, `user-`.
|
||||
|
||||
|
@ -23,4 +23,4 @@ galaxy_info:
|
||||
issue_tracker_url: "https://s.veen.world/cymaisissues"
|
||||
documentation: "https://s.veen.world/cymais"
|
||||
dependencies:
|
||||
- generic-msmtp
|
||||
- gen-msmtp
|
||||
|
@ -9,7 +9,7 @@ This Ansible role automates the process of backing up Docker volumes to a local
|
||||
Optimized for Archlinux, this role ensures that Docker volume backups are performed reliably with minimal manual intervention. It integrates with several dependent roles to verify backup success and manage related tasks, including:
|
||||
- [bkp-directory-validator](../bkp-directory-validator/) – Validates backup directories.
|
||||
- [cln-failed-docker-backups](../cln-failed-docker-backups/) – Cleans up unsuccessful backup attempts.
|
||||
- [generic-timer](../generic-timer/) – Schedules recurring backup tasks.
|
||||
- [gen-timer](../gen-timer/) – Schedules recurring backup tasks.
|
||||
- [bkp-provider](../bkp-provider/) – Manages backup sources.
|
||||
- [maint-lock](../maint-lock/) – Ensures coordinated maintenance operations.
|
||||
|
||||
|
@ -36,9 +36,9 @@
|
||||
service_name: "{{ role_name }}"
|
||||
when: run_once_backup_docker_to_local is not defined
|
||||
|
||||
- name: "include role for generic-timer for {{service_name}}"
|
||||
- name: "include role for gen-timer for {{service_name}}"
|
||||
include_role:
|
||||
name: generic-timer
|
||||
name: gen-timer
|
||||
vars:
|
||||
on_calendar: "{{on_calendar_backup_docker_to_local}}"
|
||||
when: run_once_backup_docker_to_local is not defined
|
||||
|
@ -17,7 +17,7 @@ Backup Remote to Local is a robust solution for retrieving backup data from remo
|
||||
- **Remote Backup Retrieval:** Pulls backups from a remote server using secure SSH connections.
|
||||
- **Incremental Backup with rsync:** Uses rsync with options for archive, backup, and hard linking to efficiently manage changes.
|
||||
- **Retry Logic:** Implements a retry mechanism to handle transient network issues or remote errors.
|
||||
- **Integration with Other Roles:** Works alongside roles like bkp-directory-validator, cln-failed-docker-backups, generic-timer, bkp-provider, and maint-lock.
|
||||
- **Integration with Other Roles:** Works alongside roles like bkp-directory-validator, cln-failed-docker-backups, gen-timer, bkp-provider, and maint-lock.
|
||||
- **Administrative Debugging:** Detailed debug instructions and administrative tasks are provided in a separate file.
|
||||
|
||||
## Other Resources
|
||||
|
@ -25,7 +25,7 @@ galaxy_info:
|
||||
issue_tracker_url: "https://s.veen.world/cymaisissues"
|
||||
documentation: "https://s.veen.world/cymais"
|
||||
dependencies:
|
||||
- generic-git
|
||||
- gen-git
|
||||
- alert-compose
|
||||
- cln-backups-timer
|
||||
- cln-failed-docker-backups
|
||||
|
@ -26,9 +26,9 @@
|
||||
set_fact:
|
||||
service_name: "{{ role_name }}"
|
||||
|
||||
- name: "include role for generic-timer for {{service_name}}"
|
||||
- name: "include role for gen-timer for {{service_name}}"
|
||||
include_role:
|
||||
name: generic-timer
|
||||
name: gen-timer
|
||||
vars:
|
||||
on_calendar: "{{on_calendar_backup_remote_to_local}}"
|
||||
|
||||
|
@ -22,6 +22,6 @@ galaxy_info:
|
||||
issue_tracker_url: "https://s.veen.world/cymaisissues"
|
||||
documentation: "https://s.veen.world/cymais"
|
||||
dependencies:
|
||||
- generic-python-pip
|
||||
- gen-python-pip
|
||||
- alert-compose
|
||||
- maint-lock
|
||||
|
@ -8,7 +8,7 @@ This role sets up a systemd timer to schedule the periodic cleanup of old backup
|
||||
|
||||
Optimized for automated maintenance, this role:
|
||||
- Sets a fact for the service name.
|
||||
- Integrates with the [generic-timer](../generic-timer/README.md) role to schedule cln-backups tasks at defined intervals.
|
||||
- Integrates with the [gen-timer](../gen-timer/README.md) role to schedule cln-backups tasks at defined intervals.
|
||||
|
||||
## Purpose
|
||||
|
||||
|
@ -3,9 +3,9 @@
|
||||
service_name: "cln-backups"
|
||||
when: run_once_cleanup_backups_timer is not defined
|
||||
|
||||
- name: "include role for generic-timer for {{service_name}}"
|
||||
- name: "include role for gen-timer for {{service_name}}"
|
||||
include_role:
|
||||
name: generic-timer
|
||||
name: gen-timer
|
||||
vars:
|
||||
on_calendar: "{{on_calendar_cleanup_backups}}"
|
||||
when: run_once_cleanup_backups_timer is not defined
|
||||
|
@ -8,7 +8,7 @@ This Ansible role automates the detection, revocation and deletion of unused Let
|
||||
|
||||
- Installs the `certreap` cleanup tool using the `pkgmgr-install` role
|
||||
- Deploys and configures a `cln-certs.cymais.service` systemd unit
|
||||
- (Optionally) Sets up a recurring cleanup via a systemd timer using the `generic-timer` role
|
||||
- (Optionally) Sets up a recurring cleanup via a systemd timer using the `gen-timer` role
|
||||
- Integrates with `alert-compose` to send failure notifications
|
||||
- Ensures idempotent execution with a `run_once_cleanup_certs` flag
|
||||
|
||||
@ -21,7 +21,7 @@ This Ansible role automates the detection, revocation and deletion of unused Let
|
||||
Deploys `cln-certs.cymais.service` and reloads/restarts it on changes.
|
||||
|
||||
- **Systemd Timer Scheduling**
|
||||
Optionally wires in a timer via the `generic-timer` role, controlled by the `on_calendar_cleanup_certs` variable.
|
||||
Optionally wires in a timer via the `gen-timer` role, controlled by the `on_calendar_cleanup_certs` variable.
|
||||
|
||||
- **Smart Execution Logic**
|
||||
Prevents multiple runs in one play by setting a `run_once_cleanup_certs` fact.
|
||||
|
@ -17,9 +17,9 @@
|
||||
service_name: "{{ role_name }}"
|
||||
when: run_once_cleanup_certs is not defined
|
||||
|
||||
- name: "include role for generic-timer for {{service_name}}"
|
||||
- name: "include role for gen-timer for {{service_name}}"
|
||||
include_role:
|
||||
name: generic-timer
|
||||
name: gen-timer
|
||||
vars:
|
||||
on_calendar: "{{ on_calendar_cleanup_certs }}"
|
||||
when: run_once_cleanup_certs is not defined
|
||||
|
@ -19,8 +19,8 @@
|
||||
set_fact:
|
||||
service_name: "{{ role_name }}"
|
||||
|
||||
- name: "include role for generic-timer for {{service_name}}"
|
||||
- name: "include role for gen-timer for {{service_name}}"
|
||||
include_role:
|
||||
name: generic-timer
|
||||
name: gen-timer
|
||||
vars:
|
||||
on_calendar: "{{on_calendar_cleanup_disc_space}}"
|
@ -9,7 +9,7 @@ This role cleans up failed Docker backups by pulling a [Git repository](https://
|
||||
Optimized for backup maintenance, this role:
|
||||
- Clones the cln-failed-docker-backups repository.
|
||||
- Configures a systemd service to run the cleanup script.
|
||||
- Integrates with the [generic-timer](../generic-timer/README.md) role to schedule periodic cleanup.
|
||||
- Integrates with the [gen-timer](../gen-timer/README.md) role to schedule periodic cleanup.
|
||||
- Works in conjunction with the bkp-directory-validator role for additional verification.
|
||||
|
||||
## Purpose
|
||||
|
@ -29,9 +29,9 @@
|
||||
service_name: "{{ role_name }}"
|
||||
when: run_once_cleanup_failed_docker_backups is not defined
|
||||
|
||||
- name: "include role for generic-timer for {{service_name}}"
|
||||
- name: "include role for gen-timer for {{service_name}}"
|
||||
include_role:
|
||||
name: generic-timer
|
||||
name: gen-timer
|
||||
vars:
|
||||
on_calendar: "{{on_calendar_cleanup_failed_docker}}"
|
||||
when: run_once_cleanup_failed_docker_backups is not defined
|
||||
|
@ -1,2 +1,2 @@
|
||||
dependencies:
|
||||
- generic-java
|
||||
- gen-java
|
@ -14,4 +14,4 @@ galaxy_info:
|
||||
- autostart
|
||||
- archlinux
|
||||
dependencies:
|
||||
- generic-aur-helper
|
||||
- gen-aur-helper
|
@ -19,4 +19,4 @@ galaxy_info:
|
||||
- archlinux
|
||||
- automation
|
||||
dependencies:
|
||||
- generic-hunspell
|
||||
- gen-hunspell
|
@ -11,7 +11,7 @@ The `main.yml` file in the `desk-qbittorrent` role includes the following task:
|
||||
|
||||
## Dependencies
|
||||
This role depends on:
|
||||
- **generic-aur-helper**: Ensures that an Arch User Repository (AUR) helper is installed, which is necessary for installing packages like `qbittorrent` that are not available in the standard repositories.
|
||||
- **gen-aur-helper**: Ensures that an Arch User Repository (AUR) helper is installed, which is necessary for installing packages like `qbittorrent` that are not available in the standard repositories.
|
||||
|
||||
## Purpose and Usage
|
||||
The `desk-qbittorrent` role is tailored for users who require a reliable and user-friendly torrent client for downloading and sharing files via the BitTorrent protocol. qBittorrent is known for its balance of features, simplicity, and minimal impact on system resources.
|
||||
|
@ -1,2 +1,2 @@
|
||||
dependencies:
|
||||
- generic-aur-helper
|
||||
- gen-aur-helper
|
@ -16,18 +16,18 @@ To automate the installation of Spotify on Arch-based systems while ensuring pro
|
||||
|
||||
- 🎧 Installs the official [Spotify AUR package](https://aur.archlinux.org/packages/spotify)
|
||||
- 🛠 Uses `yay` (or other helper) via [`kewlfft.aur`](https://github.com/kewlfft/ansible-aur) Ansible module
|
||||
- 🔗 Declares dependency on `generic-aur-helper` for seamless integration
|
||||
- 🔗 Declares dependency on `gen-aur-helper` for seamless integration
|
||||
|
||||
## Requirements
|
||||
|
||||
- The `generic-aur-helper` role must be applied before using this role.
|
||||
- The `gen-aur-helper` role must be applied before using this role.
|
||||
- An AUR helper like `yay` must be available on the system.
|
||||
|
||||
## Dependencies
|
||||
|
||||
This role depends on:
|
||||
|
||||
- [`generic-aur-helper`](../generic-aur-helper) – provides and configures an AUR helper like `yay`
|
||||
- [`gen-aur-helper`](../gen-aur-helper) – provides and configures an AUR helper like `yay`
|
||||
|
||||
## Credits 📝
|
||||
|
||||
|
@ -24,4 +24,4 @@ galaxy_info:
|
||||
issue_tracker_url: https://s.veen.world/cymaisissues
|
||||
documentation: https://s.veen.world/cymais
|
||||
dependencies:
|
||||
- generic-aur-helper
|
||||
- gen-aur-helper
|
||||
|
@ -27,4 +27,4 @@ galaxy_info:
|
||||
|
||||
dependencies:
|
||||
- desk-git
|
||||
- generic-shell
|
||||
- gen-shell
|
@ -14,7 +14,7 @@ The `main.yml` file in the `desk-zoom` role includes tasks for setting up video
|
||||
|
||||
## Dependencies
|
||||
This role relies on:
|
||||
- **generic-aur-helper**: Ensures that an Arch User Repository (AUR) helper is installed, necessary for installing software like Zoom which may not be available in standard repositories.
|
||||
- **gen-aur-helper**: Ensures that an Arch User Repository (AUR) helper is installed, necessary for installing software like Zoom which may not be available in standard repositories.
|
||||
|
||||
## Purpose and Usage
|
||||
The `desk-zoom` role is particularly useful for professionals, educators, and anyone who needs reliable video conferencing capabilities on their Linux system. With the increasing demand for remote communication, this role provides an efficient way to set up key video conferencing tools.
|
||||
|
@ -1,2 +1,2 @@
|
||||
dependencies:
|
||||
- generic-aur-helper
|
||||
- gen-aur-helper
|
@ -1,2 +1,2 @@
|
||||
dependencies:
|
||||
- generic-aur-helper
|
||||
- gen-aur-helper
|
@ -20,7 +20,7 @@ The `vendor_and_product_id` variable is required and should be set to the vendor
|
||||
|
||||
## Dependencies
|
||||
|
||||
- `generic-aur-helper`
|
||||
- `gen-aur-helper`
|
||||
|
||||
## Example Playbook
|
||||
|
||||
|
@ -8,5 +8,5 @@ galaxy_info:
|
||||
versions:
|
||||
- all
|
||||
dependencies:
|
||||
- generic-aur-helper
|
||||
- gen-aur-helper
|
||||
- alert-compose
|
||||
|
@ -25,9 +25,9 @@
|
||||
set_fact:
|
||||
service_name: "{{ role_name }}"
|
||||
|
||||
- name: "include role for generic-timer for {{service_name}}"
|
||||
- name: "include role for gen-timer for {{service_name}}"
|
||||
include_role:
|
||||
name: generic-timer
|
||||
name: gen-timer
|
||||
vars:
|
||||
on_calendar: "{{on_calendar_msi_keyboard_color}}"
|
||||
persistent: "true"
|
||||
|
@ -22,4 +22,4 @@ galaxy_info:
|
||||
issue_tracker_url: "https://s.veen.world/cymaisissues"
|
||||
documentation: "https://s.veen.world/cymais"
|
||||
dependencies:
|
||||
- generic-fakeroot
|
||||
- gen-fakeroot
|
@ -1,4 +1,4 @@
|
||||
# roles/generic-hostname/meta/main.yml
|
||||
# roles/gen-hostname/meta/main.yml
|
||||
---
|
||||
galaxy_info:
|
||||
author: "Kevin Veen-Birkenbach"
|
||||
@ -14,6 +14,6 @@ galaxy_info:
|
||||
- hostname
|
||||
repository: "https://github.com/kevinveenbirkenbach/cymais"
|
||||
issue_tracker_url: "https://github.com/kevinveenbirkenbach/cymais/issues"
|
||||
documentation: "https://github.com/kevinveenbirkenbach/cymais/roles/generic-hostname"
|
||||
documentation: "https://github.com/kevinveenbirkenbach/cymais/roles/gen-hostname"
|
||||
run_after: []
|
||||
dependencies: []
|
@ -13,6 +13,6 @@ galaxy_info:
|
||||
- locales
|
||||
repository: "https://github.com/kevinveenbirkenbach/cymais"
|
||||
issue_tracker_url: "https://github.com/kevinveenbirkenbach/cymais/issues"
|
||||
documentation: "https://github.com/kevinveenbirkenbach/cymais/roles/generic-locales"
|
||||
documentation: "https://github.com/kevinveenbirkenbach/cymais/roles/gen-locales"
|
||||
run_after: []
|
||||
dependencies: []
|
@ -23,4 +23,4 @@ galaxy_info:
|
||||
issue_tracker_url: "https://s.veen.world/cymaisissues"
|
||||
documentation: "https://s.veen.world/cymais"
|
||||
dependencies:
|
||||
- generic-gcc
|
||||
- gen-gcc
|
@ -17,9 +17,9 @@
|
||||
service_name: "{{ role_name }}"
|
||||
when: run_once_system_btrfs_auto_balancer is not defined
|
||||
|
||||
- name: "include role for generic-timer for {{service_name}}"
|
||||
- name: "include role for gen-timer for {{service_name}}"
|
||||
include_role:
|
||||
name: generic-timer
|
||||
name: gen-timer
|
||||
vars:
|
||||
on_calendar: "{{on_calendar_btrfs_auto_balancer}}"
|
||||
when: run_once_system_btrfs_auto_balancer is not defined
|
||||
|
@ -24,9 +24,9 @@
|
||||
service_name: "{{ role_name }}"
|
||||
when: run_once_heal_docker is not defined
|
||||
|
||||
- name: "include role for generic-timer for {{service_name}}"
|
||||
- name: "include role for gen-timer for {{service_name}}"
|
||||
include_role:
|
||||
name: generic-timer
|
||||
name: gen-timer
|
||||
vars:
|
||||
on_calendar: "{{on_calendar_heal_docker}}"
|
||||
when: run_once_heal_docker is not defined
|
||||
|
@ -20,9 +20,9 @@
|
||||
set_fact:
|
||||
service_name: "{{ role_name }}"
|
||||
|
||||
- name: "include role for generic-timer for {{service_name}}"
|
||||
- name: "include role for gen-timer for {{service_name}}"
|
||||
include_role:
|
||||
name: generic-timer
|
||||
name: gen-timer
|
||||
vars:
|
||||
on_calendar: "{{on_calendar_restart_docker}}"
|
||||
|
||||
|
@ -19,8 +19,8 @@
|
||||
set_fact:
|
||||
service_name: "{{ role_name }}"
|
||||
|
||||
- name: "include role for generic-timer for {{service_name}}"
|
||||
- name: "include role for gen-timer for {{service_name}}"
|
||||
include_role:
|
||||
name: generic-timer
|
||||
name: gen-timer
|
||||
vars:
|
||||
on_calendar: "{{on_calendar_health_btrfs}}"
|
||||
|
@ -37,7 +37,7 @@
|
||||
|
||||
- name: include systemd timer role
|
||||
include_role:
|
||||
name: generic-timer
|
||||
name: gen-timer
|
||||
vars:
|
||||
on_calendar: "{{ on_calendar_health_csp_crawler }}"
|
||||
when: run_once_health_csp is not defined
|
||||
|
@ -19,8 +19,8 @@
|
||||
set_fact:
|
||||
service_name: "{{ role_name }}"
|
||||
|
||||
- name: "include role for generic-timer for {{service_name}}"
|
||||
- name: "include role for gen-timer for {{service_name}}"
|
||||
include_role:
|
||||
name: generic-timer
|
||||
name: gen-timer
|
||||
vars:
|
||||
on_calendar: "{{on_calendar_health_disc_space}}"
|
@ -23,9 +23,9 @@
|
||||
service_name: "{{ role_name }}"
|
||||
when: run_once_health_docker_container is not defined
|
||||
|
||||
- name: "include role for generic-timer for {{service_name}}"
|
||||
- name: "include role for gen-timer for {{service_name}}"
|
||||
include_role:
|
||||
name: generic-timer
|
||||
name: gen-timer
|
||||
vars:
|
||||
on_calendar: "{{on_calendar_health_docker_container}}"
|
||||
when: run_once_health_docker_container is not defined
|
||||
|
@ -23,9 +23,9 @@
|
||||
service_name: "{{ role_name }}"
|
||||
when: run_once_health_docker_volumes is not defined
|
||||
|
||||
- name: "include role for generic-timer for {{service_name}}"
|
||||
- name: "include role for gen-timer for {{service_name}}"
|
||||
include_role:
|
||||
name: generic-timer
|
||||
name: gen-timer
|
||||
vars:
|
||||
on_calendar: "{{on_calendar_health_docker_volumes}}"
|
||||
when: run_once_health_docker_volumes is not defined
|
||||
|
@ -23,9 +23,9 @@
|
||||
service_name: "{{ role_name }}"
|
||||
when: run_once_health_journalctl is not defined
|
||||
|
||||
- name: "include role for generic-timer for {{service_name}}"
|
||||
- name: "include role for gen-timer for {{service_name}}"
|
||||
include_role:
|
||||
name: generic-timer
|
||||
name: gen-timer
|
||||
vars:
|
||||
on_calendar: "{{on_calendar_health_journalctl}}"
|
||||
when: run_once_health_journalctl is not defined
|
||||
|
@ -6,7 +6,7 @@ This Ansible role sends periodic health check emails using **msmtp** to verify t
|
||||
|
||||
## Overview
|
||||
|
||||
Optimized for Archlinux, this role creates the required directory structure, installs and configures the mon-bot-check script, and integrates with the **alert-telegram** role. It uses the **generic-timer** role to schedule regular checks based on your customizable `OnCalendar` setting.
|
||||
Optimized for Archlinux, this role creates the required directory structure, installs and configures the mon-bot-check script, and integrates with the **alert-telegram** role. It uses the **gen-timer** role to schedule regular checks based on your customizable `OnCalendar` setting.
|
||||
|
||||
## Purpose
|
||||
|
||||
|
@ -20,8 +20,8 @@
|
||||
set_fact:
|
||||
service_name: "{{ role_name }}"
|
||||
|
||||
- name: include role for generic-timer for {{ service_name }}
|
||||
- name: include role for gen-timer for {{ service_name }}
|
||||
include_role:
|
||||
name: generic-timer
|
||||
name: gen-timer
|
||||
vars:
|
||||
on_calendar: "{{ on_calendar_health_msmtp }}"
|
@ -22,5 +22,5 @@ galaxy_info:
|
||||
repository: "https://s.veen.world/cymais"
|
||||
documentation: "https://s.veen.world/cymais"
|
||||
dependencies:
|
||||
- generic-python-pip
|
||||
- gen-python-pip
|
||||
- alert-compose
|
||||
|
@ -29,9 +29,9 @@
|
||||
service_name: "{{ role_name }}"
|
||||
when: run_once_health_nginx is not defined
|
||||
|
||||
- name: "include role for generic-timer for {{service_name}}"
|
||||
- name: "include role for gen-timer for {{service_name}}"
|
||||
include_role:
|
||||
name: generic-timer
|
||||
name: gen-timer
|
||||
vars:
|
||||
on_calendar: "{{on_calendar_health_nginx}}"
|
||||
when: run_once_health_nginx is not defined
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user