From ef65e2f60379c466385d81666ad38adea1222c2f Mon Sep 17 00:00:00 2001 From: Antoine THYS Date: Thu, 5 May 2022 20:13:49 +0200 Subject: [PATCH] Fix module on recent ansible version Display class doesn't works with recent ansible version Solution from https://github.com/codeaffen/phpipam-ansible-modules/discussions/74#discussioncomment-2310159 --- plugins/modules/gns3_telnet_console.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/plugins/modules/gns3_telnet_console.py b/plugins/modules/gns3_telnet_console.py index 7251844..86810d6 100644 --- a/plugins/modules/gns3_telnet_console.py +++ b/plugins/modules/gns3_telnet_console.py @@ -121,7 +121,6 @@ PEXPECT_IMP_ERR = traceback.format_exc() HAS_PEXPECT = False -from ansible.utils.display import Display # noqa: E402 from ansible.module_utils.basic import AnsibleModule, missing_required_lib # noqa: E402 from ansible.errors import AnsibleError # noqa: E402 @@ -142,8 +141,6 @@ "general": 30, } -display = Display() - def enable_prompt_resolve(conn, enable_password, prompts): try: