awx
awx copied to clipboard
Sliced Job Template creates number of jobs as per the slicing count for the limited host
ISSUE TYPE
- Bug Report
COMPONENT NAME
- API
- UI
SUMMARY
SJT creates number of jobs as per the slicing count for the limited hosts.
ENVIRONMENT
- AWX version: X.Y.Z
- AWX install method: docker on linux
- Ansible version: 2.7.1
- Operating System: CentOS
- Web Browser: Google Chrome(Latest)
STEPS TO REPRODUCE
Create a Inventory with multiple hosts Create a SJT with multiple slices and select the above created Inventory Now, Limit the SJT for one of the hosts from the provided Inventory Launch the SJT
EXPECTED RESULTS
Only one job is created for the limited hosts even if the Job Slicing value is >1.
ACTUAL RESULTS
Multiple jobs are created for the limited hosts as per the Job Slicing count.
ADDITIONAL INFORMATION
Even if multiple jobs are created, only one succeeds rest everything fails with ERROR! Specified hosts and/or --limit does not match any hosts
.