Awx: Exclude Dates and Times in Scheduler / Outage windows when jobs will not run

Created on 13 Feb 2018  路  8Comments  路  Source: ansible/awx

ISSUE TYPE
  • Feature Idea
COMPONENT NAME
  • API
  • UI
SUMMARY

Would be nice to have the ability to exclude dates, times, hours, or ... from scheduler. (Example Usage: static maintenance windows, exclude known times/dates)

ENVIRONMENT
  • AWX install method: docker on linux
EXPECTED RESULTS

Ability to exclude certain dates, times, hours, ....

api ui enhancement

All 8 comments

A custom cron statement would work too, if we had the capability to build our own!

All schedules are done as recurrence rules - https://icalendar.org/iCalendar-RFC-5545/3-8-5-3-recurrence-rule.html.... it would need to work in that framework.

Conceptually, yes. There's no current support for it in the API/UI/scheduler, though.

Is this something that could be a feature request? This feature can reduce the amount of schedule tasks. As if someone needed to schedule something to run every hour except for certain hour(s). That wouldn't currently be possible without up to 23 individual scheduled tasks.

Sure, that's why I marked it as an enhancement.

Request to add advanced schedule options in Tower

SUMMARY
Some users are requesting one of below options in Tower.

  1. cron-style timing configuration: Allow for cron-style detailed timing configuration
  2. blackout option on Tower UI: Keep the current UI but have a global "blackout" window in which Ansible won't start new schedules.

ISSUE TYPE
Feature Idea

COMPONENT NAME
UI / API

ADDITIONAL INFORMATION
The user has an automated maintenance window each morning where some systems will patch and automatically restart, if required. The user wants to avoid Tower reporting connection problems or having failures mid-run by avoiding any scheduled jobs during this time. All job results are investigated by an Administrator, so being able to prevent new schedules starting during the maintenance window would reduce false-positive failures.

cron-type schedules are not planned.

Was this page helpful?
0 / 5 - 0 ratings