Runlevel task issue

Got failed task even though it was configured via systemctl and /etc/inittab file

inittab is no longer used when using systemd.

systemd uses ‘targets’ instead of runlevels. By default, there are two main targets:

multi-user.target: analogous to runlevel 3

graphical.target: analogous to runlevel 5

To view current default target, run:

systemctl get-default

To set a default target, run:

systemctl set-default TARGET.target