'In Ansible, what's the diffence between the service and the systemd modules?
In Ansible, what is the difference between the service and the systemd modules? The service module seems to include the systemd module so what's the point of having systemd by itself?
Solution 1:[1]
The module service is a generic one. According to the Ansible documentation :
Supported init systems include BSD init, OpenRC, SysV, Solaris SMF, systemd, upstart.
The module systemd is available only from Ansible 2.2 and is dedicated to systemd.
According to the developers of Ansible :
we are moving away from having everything in a monolithic 'service' module and splitting into specific modules, following the same model the 'package' module has.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |
