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/84bd222a-4498-44ff-8016-0888af34ef7e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to