# 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; -e skips keys a container lacks. - name: reload_sysctl shell: >- cd /etc/sysctl.d && sysctl -e -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