29 lines
524 B
YAML
29 lines
524 B
YAML
#SPDX-License-Identifier: MIT-0
|
|
---
|
|
|
|
- name: Reload iptables
|
|
ansible.builtin.service:
|
|
name: netfilter-persistent
|
|
state: restarted
|
|
|
|
- name: Reload ip6tables
|
|
ansible.builtin.service:
|
|
name: netfilter-persistent
|
|
state: restarted
|
|
|
|
- name: Restart wg0
|
|
ansible.builtin.systemd:
|
|
name: wg-quick@wg0
|
|
state: restarted
|
|
become: true
|
|
|
|
- name: Restart SSH
|
|
ansible.builtin.service:
|
|
name: ssh
|
|
state: restarted
|
|
|
|
- name: Restart Docker
|
|
ansible.builtin.service:
|
|
name: docker
|
|
state: restarted
|