apply the following patch:
diff --git a/lib/ansible/plugins/action/telnet.py
b/lib/ansible/plugins/action/telnet.py
index 785681e0a2..a9aea69b5c 100644
--- a/lib/ansible/plugins/action/telnet.py
+++ b/lib/ansible/plugins/action/telnet.py
@@ -56,7 +56,7 @@ class ActionModule(ActionBase):
if isinstance(commands, list) and commands:
- tn = telnetlib.Telnet(host, port, timeout)
+ tn = telnetlib.Telnet(host, int(port), timeout)
output = []
try:
----------
Brian Coca
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/CACVha7eU17Bm1R02HHdS9EpREpvVjiRyfhOeoy4FOegESKSuyQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.