.. _ansible.posix.at_module:
****************
ansible.posix.at
****************
**Schedule the execution of a command or script file via the at command**
Version added: 1.0.0
.. contents::
:local:
:depth: 1
Synopsis
--------
- Use this module to schedule a command or script file to run once in the future.
- All jobs are executed in the 'a' queue.
Requirements
------------
The below requirements are needed on the host that executes this module.
- at
Parameters
----------
.. raw:: html
Parameter |
Choices/Defaults |
Comments |
command
string
|
|
A command to be executed in the future.
|
count
integer
|
|
The count of units in the future to execute the command or script file.
|
script_file
string
|
|
An existing script file to be executed in the future.
|
state
string
|
Choices:
- absent
present ←
|
The state dictates if the command or script file should be evaluated as present(added) or absent(deleted).
|
unique
boolean
|
|
If a matching job is present a new job will not be added.
|
units
string
|
Choices:
- minutes
- hours
- days
- weeks
|
The type of units in the future to execute the command or script file.
|