I built the most current (at the time) Python and installed the Python executable in my home directory, then I used an Ansible variable in my inventory file (I don’t remember which variable) to specify an alternate Python interpreter and things were fine when I had an old Python interpreter on a remote system.
Mike > On Feb 2, 2023, at 00:49, Abhijeet Kasurde <[email protected]> wrote: > > Please upgrade your RHEL 5 machine to the latest RHEL version. > > On Thu, Feb 2, 2023 at 11:27 AM Dick Visser <[email protected] > <mailto:[email protected]>> wrote: > upgrade your server > > On Thu, 2 Feb 2023 at 06:02, anish kumar <[email protected] > <mailto:[email protected]>> wrote: > I am running the ansible playbook through AWX and its getting failed with the > subjected error. But same playbook is running on another server successfully. > Kindly help to resolve the issue. > > Successful login on sever :- os config Redhat enterprise linux 7.9 > > Error while login on server:- os config Redhat enterprise linux 5.0 > > Error :- > > fatal 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 [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/900f41b5-72f2-4373-b326-02ef107d9368n%40googlegroups.com > > <https://groups.google.com/d/msgid/ansible-project/900f41b5-72f2-4373-b326-02ef107d9368n%40googlegroups.com?utm_medium=email&utm_source=footer>. > -- > Sent from Gmail Mobile > > -- > 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] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/CAF8BbLbG9HO4NbBSJ_nAkqry2izqkXfSk1p98o3vx86JpAqvUQ%40mail.gmail.com > > <https://groups.google.com/d/msgid/ansible-project/CAF8BbLbG9HO4NbBSJ_nAkqry2izqkXfSk1p98o3vx86JpAqvUQ%40mail.gmail.com?utm_medium=email&utm_source=footer>. > > > -- > Thanks, > Abhijeet Kasurde > > -- > 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] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/CAFwWkHqMF8hmRUt8MgJxwUB-u8U91NBtRN8Z8D68eGHVtjfZfg%40mail.gmail.com > > <https://groups.google.com/d/msgid/ansible-project/CAFwWkHqMF8hmRUt8MgJxwUB-u8U91NBtRN8Z8D68eGHVtjfZfg%40mail.gmail.com?utm_medium=email&utm_source=footer>. -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/D25334C6-C255-4413-9BCA-26C47D3FB825%40gmail.com.
