Interview Prep/Ansible/AWX, AAP and Cloud Integration

How do you schedule recurring jobs in AWX without overlapping runs?

BeginnerProductionAWX, AAP and Cloud Integration
Answer

Add a schedule to the job template or workflow (RRULE-based, with a time zone), for example nightly drift checks or weekly patching.

To stop overlaps:

  • Leave Concurrent Jobs (allow_simultaneous) disabled on the template. A new run waits until the previous one finishes instead of running in parallel against the same hosts.
  • Make the schedule interval comfortably longer than the job's normal duration.
  • Set a job timeout on the template so a stuck run does not block all later ones.
- awx.awx.schedule:
    name: Nightly drift check
    unified_job_template: "Drift check - prod"
    rrule: "DTSTART;TZID=Asia/Kolkata:20261110T020000 RRULE:FREQ=DAILY;INTERVAL=1"
    state: present
All Ansible questions Roadmap: Ansible

More on AWX, AAP and Cloud Integration