initial commit
This commit is contained in:
commit
3586c571f3
24 files changed
+887
No files matched your search
@@ -0,0 +1,20 @@
|
||||
---
|
||||
- name: Reload sysctl
|
||||
ansible.builtin.command: sysctl --system
|
||||
listen: reload_sysctl
|
||||
changed_when: false
|
||||
|
||||
- name: Restart WireGuard interfaces
|
||||
ansible.builtin.systemd:
|
||||
name: "wg-quick@{{ item.name }}"
|
||||
state: restarted
|
||||
loop: "{{ wireguard_interfaces }}"
|
||||
listen: restart_wireguard_interfaces
|
||||
when: wireguard_enable
|
||||
|
||||
- name: Restart BIRD
|
||||
ansible.builtin.systemd:
|
||||
name: "{{ bird_service_name }}"
|
||||
state: restarted
|
||||
listen: restart_bird
|
||||
when: bird_enable
|
||||
Reference in new issue
Block a user