Ansible version?
Target os?
Playbook?
Invocation and arguments?
Inventory?

Please send


On Mon, 27 Jul 2020 at 18:26, GOPABANDHU DASH <[email protected]>
wrote:

> Hi,
>
> I am getting below error when i am trying to connect to my target server
>
> fatal: [hostname]: FAILED! => {"changed": false, "module_stderr":
> "Connection to hostname closed.\r\n", "module_stdout": "  File
> \"/home/gopa/.ansible/tmp/ansible-tmp-1595866958.593897-39491564121298/AnsiballZ_setup.py\",
> line 39\r\n    with open(module, 'wb') as f:\r\n
> ^\r\nSyntaxError: invalid syntax\r\n", "msg": "MODULE FAILURE\nSee
> stdout/stderr for the exact error", "rc": 1}
>
> My target having python 2.7.2 version.
>
> Also i tried by setting remote_tmp     = /tmp/ansible-$USER. Also getting
> the same issue.
>
> Please help
>
> --
> 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/22cc69fd-fb26-426c-ac96-9d175774ccaeo%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/22cc69fd-fb26-426c-ac96-9d175774ccaeo%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
-- 
Sent from a mobile device - please excuse the brevity, spelling and
punctuation.

-- 
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/CAL8fbwNNrmF2c1YmpOdamFSEe8uEK3_0_ArRuTnJnauR3rEyTw%40mail.gmail.com.

Reply via email to