ansible connection issue on remote RHE5 linux server

16 views
Skip to first unread message

anish kumar

unread,
Feb 1, 2023, 12:35:13 PM2/1/23
to Ansible Project
I am able to connect on other linux server from ansible but getting  error on below server

atal localhost->192.168.101.12]: FAILED! => changed": false, "module_stderr": "Shared connection to 192.168.101.12]closed in", "module.stdout":"File W/home/web/ak1/ansible/tmp/ansible-tmp-1675175673.3860075-51234- 280095385528185/AnsiballZ_command.py\", line 72n with open(args.path. 'rb) as fin "Ventadmor invalid syntaxin", "msg": "MODULE FAILURE\See stdout/stderr for the exact error, "rc":1}

Matt Martz

unread,
Feb 1, 2023, 12:37:42 PM2/1/23
to ansible...@googlegroups.com
RHEL5 hasn't been supported since Ansible 2.3, due to its use of Python2.4.

On Wed, Feb 1, 2023 at 11:35 AM anish kumar <anish...@gmail.com> wrote:
I am able to connect on other linux server from ansible but getting  error on below server

atal localhost->192.168.101.12]: FAILED! => changed": false, "module_stderr": "Shared connection to 192.168.101.12]closed in", "module.stdout":"File W/home/web/ak1/ansible/tmp/ansible-tmp-1675175673.3860075-51234- 280095385528185/AnsiballZ_command.py\", line 72n with open(args.path. 'rb) as fin "Ventadmor invalid syntaxin", "msg": "MODULE FAILURE\See stdout/stderr for the exact error, "rc":1}

--
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 ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/62996208-5684-4be9-bf66-570901316497n%40googlegroups.com.


--
Matt Martz
@sivel
sivel.net

anish kumar

unread,
Feb 1, 2023, 11:44:07 PM2/1/23
to ansible...@googlegroups.com
what is the fixes for this issue

You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/2jKRZ7NHgjo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAD8N0v-OCoki0Mirxj%3DRnQ7coEK_CknUY80mL0R-jSQ%3DsMRH1A%40mail.gmail.com.

Rowe, Walter P. (Fed)

unread,
Feb 2, 2023, 8:33:56 AM2/2/23
to ansible...@googlegroups.com
Upgrade to a supported version of RHEL. RHEL5 has not been updated in years. Lots of vulnerabilities with RHEL5.


https://access.redhat.com/articles/3078#RHEL5

Walter
--
Walter Rowe, Division Chief
Infrastructure Services, OISM
Mobile: 202.355.4123

Reply all
Reply to author
Forward
0 new messages