arillso.system.systemd_unit role – Manage systemd units on various systems.
Note
This role is part of the arillso.system collection (version 0.0.34).
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it use: ansible-galaxy collection install arillso.system
.
To use it in a playbook, specify: arillso.system.systemd_unit
.
Entry point main
– Manage systemd units on various systems.
Synopsis
This role configures and manages systemd units across different systems.
It allows for the creation, modification, and deletion of systemd unit files and their override configurations.
Parameters
Parameter |
Comments |
---|---|
The directory where systemd unit files are stored. Defaults to ‘/etc/systemd/system’. Default: |
|
Full path of the systemd unit file. Automatically constructed from the unit name and type. |
|
Generic options for systemd units, applied regardless of the unit type. Default: |
|
Options related to the ‘Install’ section of a systemd unit file. Default: |
|
The name of the systemd unit to be managed. |
|
Specific options for the systemd unit, dependent on the unit type and configuration. Default: |
|
Directory for the systemd unit override files, specific to the unit name and type. |
|
Full path for the systemd unit override file. Automatically constructed using the override directory and override name. |
|
Name of the override file for the systemd unit. |
|
The type of the systemd unit (e.g., ‘service’, ‘timer’). Choices:
|
|
List of supported systemd unit types. Default: |