--- - name: Enable Systemd Services ansible.builtin.command: > {{ chroot_command }} /mnt systemctl enable NetworkManager {{ ' firewalld' if firewalld_enabled | bool else '' }} {{ (' ssh' if os | lower in ['ubuntu', 'ubuntu-lts'] else (' sshd' if os | lower not in ['debian11', 'debian12', 'debian13'] else '')) if ssh_enabled | bool else '' }} {{ 'logrotate systemd-resolved systemd-timesyncd systemd-networkd' if os | lower == 'archlinux' else '' }} register: configuration_enable_services_result changed_when: configuration_enable_services_result.rc == 0