README.md 351 B

Ansible Role: Systemd Unit

Required Variables

systemd_unit_name: some.service

Optional Variables

systemd_unit_config: |
  [Unit]
  Description=…
  # …
systemd_unit_dropin_config: |
  [Service]
  LogLevelMax=notice
  # …
systemd_unit_state: started
systemd_unit_enabled: yes
systemd_unit_restart_if_active: no