Ansible Role linuxfabrik.lfops.at¶
This role installs at, a daemon that allows commands to be run at a specified time.
Available since LFOps 2.0.0.
Tags¶
at
- Installs and configures at/atd.
- Triggers: none.
at:state
- Manages the state of
atd.service(enable/disable at boot, plus start/stop/restart/reload). - Triggers: none.
Optional Role Variables¶
at__service_enabled
- Whether
atd.serviceis enabled at boot, analogous tosystemctl enable / disable. - Type: Bool.
- Default:
true
at__service_state
- State of
atd.service, analogous tosystemctl start / stop / restart / reload. - Type: String. One of
reloaded,restarted,started,stopped. - Default:
'started'ifat__service_enabledistrue, otherwise'stopped'.
Example:
# optional
at__service_enabled: true
at__service_state: 'started'