mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 23:07:42 -02:30
Update awxkit credential creation
Does not have an organization by default. Let `create_payload` decide if it should be automatically created or not. This will avoid having more than one owner when either user or team is passed to `create`.
This commit is contained in:
@@ -310,7 +310,7 @@ class Credential(HasCopy, HasCreate, base.Base):
|
||||
credential_type=CredentialType,
|
||||
user=None,
|
||||
team=None,
|
||||
organization=Organization,
|
||||
organization=None,
|
||||
inputs=None,
|
||||
**kwargs):
|
||||
payload = self.create_payload(
|
||||
|
||||
Reference in New Issue
Block a user