mirror of
https://github.com/ansible/awx.git
synced 2026-03-05 18:51:06 -03:30
Handle vacuous role rebuilding condition instead of exploding
This commit is contained in:
@@ -234,6 +234,9 @@ class Role(CommonModelNameNotUnique):
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
|
if len(role_ids_to_rebuild) == 0:
|
||||||
|
return
|
||||||
|
|
||||||
cursor = connection.cursor()
|
cursor = connection.cursor()
|
||||||
loop_ct = 0
|
loop_ct = 0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user