mirror of
https://github.com/ansible/awx.git
synced 2026-07-05 13:28:04 -02:30
implement CredentialType env, file, and extra_vars injectors
see: #5877
This commit is contained in:
@@ -979,7 +979,7 @@ class InventorySourceOptions(BaseModel):
|
||||
if not self.source:
|
||||
return None
|
||||
cred = self.credential
|
||||
if cred:
|
||||
if cred and self.source != 'custom':
|
||||
# If a credential was provided, it's important that it matches
|
||||
# the actual inventory source being used (Amazon requires Amazon
|
||||
# credentials; Rackspace requires Rackspace credentials; etc...)
|
||||
|
||||
Reference in New Issue
Block a user