Executed the inventory execute_role

Replaced with the 'use_role', which is now useful.

 Completes #1959
This commit is contained in:
Akita Noek
2016-05-20 14:10:29 -04:00
parent 17272fec05
commit fd9c96aa80
5 changed files with 22 additions and 31 deletions

View File

@@ -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: