Hi Ryad,
I have not been able to reproduce the issue with the information provided
in your query. Could you please provide below information to further
analyse the issue?
On Thursday, 13 June 2019 20:09:03 UTC+5:30, Ryad karkar wrote:
>
> Hi,
>
> I have one script deployment.sh, when i play this next task, i have one
> message error :
>
> - name: "Execut script deployment.sh"
> shell: ./deployment.sh
> delegate_to: localhost
>
> *The next is message error :*
>
> failed: [my_host -> localhost] => {"changed": true, "cmd":
> "./deployment.sh", "delta": "0:00:04.317850", "end": "2019-06-13
> 16:32:22.757213", "rc": 1, "start": "2019-06-13 16:32:18.439363"}
> stderr: Traceback (most recent call last):
> File "/mssql-cli/lib/python3.6/runpy.py", line 193, in
> _run_module_as_main
> "__main__", mod_spec)
> File "/mssql-cli/lib/python3.6/runpy.py", line 85, in _run_code
> exec(code, run_globals)
> File "/mssql-cli/lib/python3.6/site-packages/mssqlcli/main.py", line
> 101, in <module>
> main()
> File "/mssql-cli/lib/python3.6/site-packages/mssqlcli/main.py", line 94,
> in main
> run_cli_with(mssqlcli_options)
> File "/mssql-cli/lib/python3.6/site-packages/mssqlcli/main.py", line 56,
> in run_cli_with
> mssqlcli.run()
> File "/mssql-cli/lib/python3.6/site-packages/mssqlcli/mssql_cli.py",
> line 367, in run
> self.cli = self._build_cli(history)
> File "/mssql-cli/lib/python3.6/site-packages/mssqlcli/mssql_cli.py",
> line 471, in _build_cli
> eventloop=self.eventloop)
> File
> "/mssql-cli/lib/python3.6/site-packages/prompt_toolkit/interface.py", line
> 80, in __init__
> self.output = output or create_output()
> File
> "/mssql-cli/lib/python3.6/site-packages/prompt_toolkit/shortcuts.py", line
> 126, in create_output
> ansi_colors_only=ansi_colors_only, term=term)
> File
> "/mssql-cli/lib/python3.6/site-packages/prompt_toolkit/terminal/vt100_output.py",
>
> line 424, in from_pty
> assert stdout.isatty()
> AssertionError
>
> FATAL: all hosts have already failed -- aborting
>
>
> Someone have idea please why i have this message error ?
>
> Thanks for your help community Ansible !!! :)
>
> Regards,
>
--
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/7323a700-51ec-4ec6-a7fc-9fb81372f305%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.