15 lines
435 B
YAML
15 lines
435 B
YAML
# Only the files of this role that exist: in a container the distribution files hold keys that
|
|
# are not writable there, and sysctl --system fails on them.
|
|
- name: reload_sysctl
|
|
shell: >-
|
|
cd /etc/sysctl.d && sysctl -p $(ls
|
|
ip-forwarding.conf
|
|
ipv6-slaac-address-generation.conf
|
|
ipv6-slaac-override.conf
|
|
tcp-bbr.conf 2>/dev/null)
|
|
|
|
- name: restart_journald
|
|
systemd:
|
|
name: systemd-journald
|
|
state: restarted
|