diff --git a/features/awx.py b/features/awx.py index 8cb8ddf8..668f655b 100644 --- a/features/awx.py +++ b/features/awx.py @@ -17,6 +17,7 @@ from config import DefaultConfig as CONFIG from webex import WebExClient from .CML import CML +import requests urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) @@ -80,8 +81,9 @@ async def create_accounts(activity): login=CONFIG.AWX_USERNAME, password=CONFIG.AWX_PASSWORD, encoding="utf-8" ) session = aiohttp.ClientSession(timeout=aiohttp.ClientTimeout(total=60), auth=auth) - logging.debug("%s %s", logging_message, session) + logging.debug("%s %s ", logging_message, session) try: + logging.debug("Attempt connection to awx") async with session.request( method="POST", url=url, headers=headers, data=json.dumps(body), ssl=False ) as res: diff --git a/requirements.txt b/requirements.txt index 9460abd1..830cd3dd 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,8 +1,8 @@ -aiohttp==3.8.1 +aiohttp==3.8.4 boto3==1.26.23 pymongo==4.1.1 jinja2==3.1.1 -requests==2.26.0 +requests==2.29.0 webexteamssdk==1.6 virl2_client==2.4.0 PyYAML==5.4