This commit is contained in:
2024-09-01 20:56:12 +03:00
commit 9717dca6a2
9 changed files with 217 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
---
- name: Reload the sysctl configuration
# We have to use the command here because (to date) the
# ansible.posix.sysctl module does not allow to force a reload
ansible.builtin.command:
cmd: sysctl --system
changed_when: false
when: disable_ipv6_reload_sysctl_if_changed
- name: Restart NetworkManager
service:
name: NetworkManager
state: restarted
- name: Restart hostapd
service:
name: hostapd
state: restarted
- name: Restart dhcpd
service:
name: dhcpd
state: restarted
- name: Restart systemd-networkd
service:
name: systemd-networkd
state: restarted