I'm working with the awx cli (19.1.0) and awx (13.0.0) in an environment with over 100 servers
When (e.g.) querying failed or changed results with:
awx --conf.host https://my.awx --conf.username myuser --conf.password mypass -k -f human --filter 'event_display,event_data,host_name,play,task,stdout' job_events list --job 1234 --event runner_on_ok --changed true > /tmp/tmp
I only get exactly 25 results.
(This fits to the pagination of the awx api?!)
Is there an option to get every result of an awx run?
(ARA would be great alternative to the cli, but it's not applicable for my environment/task)
Update/Hint
I wasnt aware that one seem to only get the correct command-line help (--help
) if successfully authenticated (see my comment to the answer)
To fetch all results, add the flag --all to the query.
Reference: Ansible Tower/AWX CLI v3.8.3 User Guide