initial pfannkuchen
This commit is contained in:
parent
b6dafc7a73
commit
4d305fa19f
99 changed files with 3575 additions and 321 deletions
38
hysteria2-cleanup.yml
Normal file
38
hysteria2-cleanup.yml
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
---
|
||||
- name: Hysteria2 von Nodes entfernen
|
||||
hosts: proxmox
|
||||
become: yes
|
||||
tasks:
|
||||
- name: Hysteria2 Service stoppen und deaktivieren
|
||||
systemd:
|
||||
name: hysteria2
|
||||
state: stopped
|
||||
enabled: false
|
||||
ignore_errors: true
|
||||
|
||||
- name: WireGuard Override entfernen
|
||||
file:
|
||||
path: /etc/systemd/system/wg-quick@wg0.service.d
|
||||
state: absent
|
||||
notify: reload systemd
|
||||
|
||||
- name: Hysteria2 systemd Unit entfernen
|
||||
file:
|
||||
path: /etc/systemd/system/hysteria2.service
|
||||
state: absent
|
||||
notify: reload systemd
|
||||
|
||||
- name: Hysteria2 Binary entfernen
|
||||
file:
|
||||
path: /usr/local/bin/hysteria
|
||||
state: absent
|
||||
|
||||
- name: Hysteria2 Config entfernen
|
||||
file:
|
||||
path: /etc/hysteria
|
||||
state: absent
|
||||
|
||||
handlers:
|
||||
- name: reload systemd
|
||||
systemd:
|
||||
daemon_reload: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue