ansible/awx
View on GitHubTower Modules Schedules - Allow multiple days to be selected in a month
Open
#8736 opened on Dec 2, 2020
component:apihelp wanted
Description
ISSUE TYPE
- Feature Idea
SUMMARY
We would like to create an AWX schedule that complies with the Microsoft monthly patch cycle (Patch Tuesday as it is infamously called). However, instead of the 2nd Tuesday of each month we would like to schedule the 1st Saturday after the 2nd Tuesday of each month.
In other programs we can create an RRULE using the following:
rrule: "DTSTART:20191219T130551Z RRULE:FREQ=MONTHLY;INTERVAL=1;BYDAY=SA;BYMONTHDAY=12,13,14,15,16,17,18"
This will try to execute each month on the days listed but only if they are a Saturday. We have found that AWX's BYMONTHDAY option does not allow for more than one day number.
We would either like BYMONTHDAY to allow more than one number or if someone can tell us another way to set an AWX schedule to allow the rule we are looking to achieve.