mirror of
https://github.com/ansible/awx.git
synced 2026-01-09 23:12:08 -03:30
With the "recent" changes making the lookup plugin `awx.awx.schedule_rrule` and `awx.awx.schedule_rruleset` returning a list instead of string (see #15625), the returned list (which will *always* carry only 1 item) needs to be transformed to a string either adding `| join` or `| first`. I found `first` to be more fitting as the list will *always* return a list with 1 item. Additionally, the documentation that references `awx.awx.schedule_rruleset` in the `awx.awx.schedule` module was wrong, which is also fixed by this PR. Signed-off-by: Steffen Scheib <sscheib@redhat.com> Co-authored-by: Steffen Scheib <steffen@scheib.me>