diff options
author | Ganesh B Nalawade <ganesh634@gmail.com> | 2020-03-05 15:17:42 +0530 |
---|---|---|
committer | Ganesh B Nalawade <ganesh634@gmail.com> | 2020-03-05 18:21:32 +0530 |
commit | cdfed725635e5eb9a54549c122c9657f09a967ea (patch) | |
tree | 90969d1e7a9b25c2a6e3cc36c9a4e2387abe93ef /plugins/terminal | |
parent | 5434bff093240ad64f6c41c5aabed7a67631ccc6 (diff) | |
download | vyos-ansible-collection-cdfed725635e5eb9a54549c122c9657f09a967ea.tar.gz vyos-ansible-collection-cdfed725635e5eb9a54549c122c9657f09a967ea.zip |
Fix CI issues
Diffstat (limited to 'plugins/terminal')
-rw-r--r-- | plugins/terminal/vyos.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/terminal/vyos.py b/plugins/terminal/vyos.py index 8283927..606f77b 100644 --- a/plugins/terminal/vyos.py +++ b/plugins/terminal/vyos.py @@ -41,10 +41,13 @@ class TerminalModule(TerminalBase): ] try: - terminal_length = os.getenv('ANSIBLE_VYOS_TERMINAL_LENGTH', 10000) + terminal_length = os.getenv("ANSIBLE_VYOS_TERMINAL_LENGTH", 10000) terminal_length = int(terminal_length) except ValueError: - raise AnsibleConnectionFailure("Invalid value set for vyos terminal length '%s', value should be a valid integer string" % terminal_length) + raise AnsibleConnectionFailure( + "Invalid value set for vyos terminal length '%s', value should be a valid integer string" + % terminal_length + ) def on_open_shell(self): try: |