the ansible_virtualization_type != "docker" part is used when testing in containers, since systemd is not available there