Skip to content

Commit

Permalink
Fix module on recent ansible version
Browse files Browse the repository at this point in the history
Display class doesn't works with recent ansible version
Solution from codeaffen/phpipam-ansible-modules#74 (comment)
  • Loading branch information
thystips authored May 5, 2022
1 parent a0c3c55 commit ef65e2f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions plugins/modules/gns3_telnet_console.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -142,8 +141,6 @@
"general": 30,
}

display = Display()


def enable_prompt_resolve(conn, enable_password, prompts):
try:
Expand Down

0 comments on commit ef65e2f

Please sign in to comment.