You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Roles currently assume systemd as the init system and contain systemd-specific configuration. This prevents the roles from working properly on hosts using openrc as the init system.
To expand compatibility, the roles should be updated to support both systemd and openrc. For roles that manage services, init scripts should be added and enabled for openrc alongside the existing systemd unit files. Any systemd-specific commands or config files should be adapted to also work with openrc where applicable.
This will allow the roles to deploy successfully to a wider range of hosts without init system limitations. Supporting both major init systems will improve flexibility and reuse of the roles.
The text was updated successfully, but these errors were encountered:
I think the systemd plays could be replaced with the service module which supports systemd and openrc. The ansible_service_mgr fact can be used to decide deploy the correct files to the correct init system
Roles currently assume systemd as the init system and contain systemd-specific configuration. This prevents the roles from working properly on hosts using openrc as the init system.
To expand compatibility, the roles should be updated to support both systemd and openrc. For roles that manage services, init scripts should be added and enabled for openrc alongside the existing systemd unit files. Any systemd-specific commands or config files should be adapted to also work with openrc where applicable.
This will allow the roles to deploy successfully to a wider range of hosts without init system limitations. Supporting both major init systems will improve flexibility and reuse of the roles.
The text was updated successfully, but these errors were encountered: