diff options
author | John Westcott IV <john.westcott.iv@redhat.com> | 2020-08-03 18:09:00 +0200 |
---|---|---|
committer | John Westcott IV <john.westcott.iv@redhat.com> | 2020-08-19 20:12:50 +0200 |
commit | 40f67414741b44a8c76c104825362aded869898b (patch) | |
tree | ecb7d05095fcbf913bd95f1be0e6d5cf8dd18692 /awx_collection/plugins/modules/tower_workflow_launch.py | |
parent | Merge pull request #7937 from ryanpetrello/only-bearer (diff) | |
download | awx-40f67414741b44a8c76c104825362aded869898b.tar.xz awx-40f67414741b44a8c76c104825362aded869898b.zip |
Adding import/export awx kit features
Changed library structure
Origional TowerModule becomes TowerLegacyModule
TowerModule from tower_api becomes TowerAPIModule
A real base TowerModule is created in tower_module.py
A new TowerAWXKitModule is created in tower_awxkit
TowerAWXKitModule and TowerAPIModule are child classes of TowerModule
Diffstat (limited to 'awx_collection/plugins/modules/tower_workflow_launch.py')
-rw-r--r-- | awx_collection/plugins/modules/tower_workflow_launch.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/awx_collection/plugins/modules/tower_workflow_launch.py b/awx_collection/plugins/modules/tower_workflow_launch.py index 8ef73d82fc..249feeed35 100644 --- a/awx_collection/plugins/modules/tower_workflow_launch.py +++ b/awx_collection/plugins/modules/tower_workflow_launch.py @@ -91,7 +91,7 @@ EXAMPLES = ''' wait: False ''' -from ..module_utils.tower_api import TowerModule +from ..module_utils.tower_api import TowerAPIModule import json import time @@ -111,7 +111,7 @@ def main(): ) # Create a module for ourselves - module = TowerModule(argument_spec=argument_spec) + module = TowerAPIModule(argument_spec=argument_spec) optional_args = {} # Extract our parameters |