mirror of
https://github.com/ansible/awx.git
synced 2026-08-04 20:10:01 -02:30
Executed the inventory execute_role
Replaced with the 'use_role', which is now useful. Completes #1959
This commit is contained in:
@@ -238,7 +238,7 @@ def migrate_inventory(apps, schema_editor):
|
||||
raise Exception(smart_text(u'Unhandled permission type for inventory: {}'.format( perm.permission_type)))
|
||||
|
||||
if perm.run_ad_hoc_commands:
|
||||
execrole = inventory.execute_role
|
||||
execrole = inventory.use_role
|
||||
|
||||
if perm.team:
|
||||
if role:
|
||||
|
||||
Reference in New Issue
Block a user