In Ansible, what's the difference between a service and systemd modules?

In Ansible, what is the difference between a service and systemd modules? The service module seems to include the systemd module, so what's the point with the system itself?

+5
source share
1 answer

The module service is shared. According to the Ansible documentation :

Supported initialization systems include BSD init, OpenRC, SysV, Solaris SMF, systemd, upstart.

The systemd module is only available from Ansible 2.2 and is intended for systemd.

According to the Ansible developers :

we move away from the presence of everything in the monolithic module of the “service” and break up into certain modules, following the same model as the module “package”.

+4
source

All Articles