mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
a fix by replacing subscription with subscriptions (#55797)
This commit is contained in:
parent
149336319a
commit
ae7b6739ce
1 changed files with 1 additions and 1 deletions
|
@ -274,7 +274,7 @@ class AzureRMRoleDefinition(AzureRMModuleBase):
|
|||
|
||||
# build scope
|
||||
def build_scope(self):
|
||||
subscription_scope = '/subscription/' + self.subscription_id
|
||||
subscription_scope = '/subscriptions/' + self.subscription_id
|
||||
if self.scope is None:
|
||||
return subscription_scope
|
||||
return self.scope
|
||||
|
|
Loading…
Reference in a new issue