mirror of
https://github.com/ansible/awx.git
synced 2026-03-23 03:45:01 -02:30
Removal of OAuth2 stuff from CLI
also from awxkit generally Remove login command
This commit is contained in:
@@ -34,7 +34,8 @@ class ControllerAWXKitModule(ControllerModule):
|
||||
def authenticate(self):
|
||||
try:
|
||||
if self.oauth_token:
|
||||
self.connection.login(None, None, token=self.oauth_token)
|
||||
# MERGE: fix conflicts with removal of OAuth2 token from collection branch
|
||||
self.connection.login(None, None)
|
||||
self.authenticated = True
|
||||
elif self.username:
|
||||
self.connection.login(username=self.username, password=self.password)
|
||||
|
||||
@@ -86,11 +86,6 @@ options:
|
||||
- workflow names, IDs, or named URLs to export
|
||||
type: list
|
||||
elements: str
|
||||
applications:
|
||||
description:
|
||||
- OAuth2 application names, IDs, or named URLs to export
|
||||
type: list
|
||||
elements: str
|
||||
schedules:
|
||||
description:
|
||||
- schedule names, IDs, or named URLs to export
|
||||
|
||||
@@ -23,7 +23,6 @@ ASSETS = set([
|
||||
"job_templates",
|
||||
"workflow_job_templates",
|
||||
"execution_environments",
|
||||
"applications",
|
||||
"schedules",
|
||||
])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user