You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
localhost | FAILED! => {
"msg": "An unhandled exception occurred while running the lookup plugin 'ansible.controller.schedule_rrule'. Error was a <class 'TypeError'>, original message: expected string or bytes-like object. expected string or bytes-like object"
Additional information
Perhaps the easiest way is to change the documentation.
The text was updated successfully, but these errors were encountered:
Please confirm the following
[email protected]
instead.)Bug Summary
Documentation says "If this is a positive integer, this schedule will end after this number of occurences" however the lookup expects string.
AWX version
4.6.7
Select the relevant components
Installation method
N/A
Modifications
no
Ansible version
2.5.12
Operating system
RHEL9
Web browser
No response
Steps to reproduce
ansible -m debug -a msg="{{ query('ansible.controller.schedule_rrule', 'day', end_on=2) }}" localhost
Expected results
localhost | SUCCESS => {
"msg": "DTSTART;TZID=America/New_York:20250206T201219 RRULE:FREQ=DAILY;COUNT=2;INTERVAL=1"
}
Actual results
localhost | FAILED! => {
"msg": "An unhandled exception occurred while running the lookup plugin 'ansible.controller.schedule_rrule'. Error was a <class 'TypeError'>, original message: expected string or bytes-like object. expected string or bytes-like object"
Additional information
Perhaps the easiest way is to change the documentation.
The text was updated successfully, but these errors were encountered: