Aren't the modules supposed to work with python 2.6? He is running the setup module... Probably the behaviour is different because the Ansible versions are different between the Ansible inside AWX and the Ansible in the server. That info is lacking from OP. As is the OS version of the managed server...
On Wed, Mar 10, 2021 at 8:55 AM Abhijeet Kasurde <[email protected]> wrote: > it seems that you are using python 2.6 since there is a syntax error for > "with" syntax. Try updating the Python version to the latest. > > On Wed, Mar 10, 2021 at 2:13 PM Dick Visser <[email protected]> wrote: > >> On Wed, 10 Mar 2021 at 07:57, Akshay Bora <[email protected]> wrote: >> > >> > Hi People, >> > >> > I am running the ansible playbook through AWX and its getting failed >> with the subjected error. But the same playbook is running on other server >> successfully. Kindly help to resolve the issue. >> >> This means it's not an ansible issue, but rather an AWX issue. Please >> use the dedicated AWX list: https://groups.google.com/g/awx-project >> >> -- >> 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/CAL8fbwNCBm1seRO8%2B6WyLDgvGho1rzJPfSkig1Ck0fZv8FOb0g%40mail.gmail.com >> . >> >> > > -- > 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]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/CAFwWkHqes%3D6WAWepNSNKbU2n4n5sznBeEYk14%2B8BVMpDT0ufLw%40mail.gmail.com > <https://groups.google.com/d/msgid/ansible-project/CAFwWkHqes%3D6WAWepNSNKbU2n4n5sznBeEYk14%2B8BVMpDT0ufLw%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/CAEAA%3DtviUrVaN%3DLY%3DDp2j7uvXcrwjNPc3E2tTom1yYSjgqMHyQ%40mail.gmail.com.
