at – Schedule the execution of a command or script file via the at command¶
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¶
Examples¶
- name: Schedule a command to execute in 20 minutes as root
at:
command: ls -d / >/dev/null
count: 20
units: minutes
- name: Match a command to an existing job and delete the job
at:
command: ls -d / >/dev/null
state: absent
- name: Schedule a command to execute in 20 minutes making sure it is unique in the queue
at:
command: ls -d / >/dev/null
count: 20
units: minutes
unique: yes
Status¶
This module is not guaranteed to have a backwards compatible interface. [preview]
This module is maintained by the Ansible Core Team. [core]
Red Hat Support¶
More information about Red Hat’s support of this module is available from this Red Hat Knowledge Base article.