mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-27 15:11:23 -07:00
ansible_tower: fix broken import, reuse tower_argument_spec and documentation fragment (#29115)
* module_utils/ansible_tower: fix broken import * tower_*: use tower_argument_spec & doc fragment * tower doc fragment: Ansible requires Python 2.6+ * tower_job_wait: fix broken import (Py3 compat)
This commit is contained in:
parent
af3e8950d6
commit
44f5b2bd25
18 changed files with 244 additions and 746 deletions
|
@ -28,9 +28,14 @@
|
|||
|
||||
import os
|
||||
|
||||
import tower_cli.utils.exceptions as exc
|
||||
from tower_cli.utils import parser
|
||||
from tower_cli.api import client
|
||||
try:
|
||||
import tower_cli.utils.exceptions as exc
|
||||
from tower_cli.utils import parser
|
||||
from tower_cli.api import client
|
||||
|
||||
HAS_TOWER_CLI = True
|
||||
except ImportError:
|
||||
HAS_TOWER_CLI = False
|
||||
|
||||
|
||||
def tower_auth_config(module):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue