mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-03 00:46:10 +02:00
Renamed cymais to infinito and did some other optimations and logout implementations
This commit is contained in:
@@ -7,7 +7,7 @@ This role manages WireGuard on a client system. It sets up essential services an
|
||||
## Overview
|
||||
|
||||
Optimized for client configurations, this role:
|
||||
- Deploys a systemd service (`set-mtu.cymais.service`) and its associated script to set the MTU on specified network interfaces.
|
||||
- Deploys a systemd service (`set-mtu.infinito.service`) and its associated script to set the MTU on specified network interfaces.
|
||||
- Uses a Jinja2 template to generate the `set-mtu.sh` script.
|
||||
- Ensures that the MTU is configured correctly before starting WireGuard with [wg-quick](https://www.wireguard.com/quickstart/).
|
||||
|
||||
|
@@ -1,10 +1,10 @@
|
||||
[Unit]
|
||||
Description=set MTU
|
||||
Before=wg-quick@wg0.cymais.service
|
||||
Before=wg-quick@wg0.infinito.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=bash /usr/local/bin/set-mtu.sh
|
||||
|
||||
[Install]
|
||||
RequiredBy=wg-quick@wg0.cymais.service
|
||||
RequiredBy=wg-quick@wg0.infinito.service
|
@@ -1,6 +1,6 @@
|
||||
- name: "restart set-mtu.cymais.service"
|
||||
- name: "restart set-mtu.infinito.service"
|
||||
systemd:
|
||||
name: set-mtu.cymais.service
|
||||
name: set-mtu.infinito.service
|
||||
state: restarted
|
||||
enabled: yes
|
||||
daemon_reload: yes
|
@@ -2,7 +2,7 @@
|
||||
galaxy_info:
|
||||
author: "Kevin Veen-Birkenbach"
|
||||
description: "Manages WireGuard on a client system by deploying services and scripts to set MTU on network interfaces and ensure optimal VPN connectivity."
|
||||
license: "CyMaIS NonCommercial License (CNCL)"
|
||||
license: "Infinito.Nexus NonCommercial License (CNCL)"
|
||||
license_url: "https://s.veen.world/cncl"
|
||||
company: |
|
||||
Kevin Veen-Birkenbach
|
||||
@@ -20,8 +20,8 @@ galaxy_info:
|
||||
- mtu
|
||||
- systemd
|
||||
- configuration
|
||||
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:
|
||||
- net-wireguard-core
|
||||
|
@@ -1,11 +1,11 @@
|
||||
- name: create set-mtu.cymais.service
|
||||
- name: create set-mtu.infinito.service
|
||||
copy:
|
||||
src: set-mtu.service
|
||||
dest: /etc/systemd/system/set-mtu.cymais.service
|
||||
notify: restart set-mtu.cymais.service
|
||||
dest: /etc/systemd/system/set-mtu.infinito.service
|
||||
notify: restart set-mtu.infinito.service
|
||||
|
||||
- name: create set-mtu.sh
|
||||
template:
|
||||
src: set-mtu.sh.j2
|
||||
dest: /usr/local/bin/set-mtu.sh
|
||||
notify: restart set-mtu.cymais.service
|
||||
notify: restart set-mtu.infinito.service
|
||||
|
Reference in New Issue
Block a user