# Running TUI commands from a shell

**URL:** <https://forum.ansible.com/t/running-tui-commands-from-a-shell/20183>\
**Category:** Ansible Project\
**Created:** [January 12, 2016, 7:47pm UTC](https://forum.ansible.com/t/running-tui-commands-from-a-shell/20183 "2016-01-12T19:47:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sam\_Mingolelli](https://avatars.discourse-cdn.com/v4/letter/s/22d042/32.png) [@Sam\_Mingolelli](https://forum.ansible.com/u/Sam_Mingolelli)\
**Post date:** [January 12, 2016, 7:47pm UTC](https://forum.ansible.com/t/running-tui-commands-from-a-shell/20183/1 "2016-01-12T19:47:48Z")

</div>

I’m in the process of trying to run the cloudera installation like so from a task:

`

- name: download cloudera cluster manager installer

get\_url: url=[http://archive.cloudera.com/cm5/installer/5.3.6/cloudera-manager-installer.bin](http://archive.cloudera.com/cm5/installer/5.3.6/cloudera-manager-installer.bin) dest=/tmp mode=755 force=yes  
when: “‘hbase-master’ in group\_names”

- name: silently install cloudera cluster manager

shell: /tmp/cloudera-manager-installer.bin --i-agree-to-all-licenses --noprompt --noreadme --nooptions  
when: “‘hbase-master’ in group\_names”

`

However when I attempt to do this I’m running into this error:  
`

TASK [hbase-cdh : silently install cloudera cluster manager] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
fatal: [dev09-ost-hivetest-c-hb01]: FAILED! =\> {“changed”: true, “cmd”: “/tmp/cloudera-manager-installer.bin --i-agree-to-all-licenses --noprompt --noreadme --nooptions”, “delta”: “0:00:00.030901”, “end”: “2016-01-12 14:31:40.785974”, “failed”: true, “rc”: 22, “start”: “2016-01-12 14:31:40.755073”, “stderr”: “\n\n\nPANIC\n Failed to start GUI. Is your download incomplete or corrupt?”, “stdout”: “”, “stdout\_lines”: , “warnings”: }

PLAY RECAP \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
`

If I run it manually it works fine, looking like this:

[![](https://lh3.googleusercontent.com/-xqqUQt53zSE/VpVX5GsIZ-I/AAAAAAAAAIo/H5a84SytV1Q/s320/1 __sammingolelli_WUSSM255038-311_local___ Users_sammingolelli_projects_git_repos_devops_ansible__bash_.png)](https://lh3.googleusercontent.com/-xqqUQt53zSE/VpVX5GsIZ-I/AAAAAAAAAIo/H5a84SytV1Q/s1600/1__sammingolelli_WUSSM255038-311_local ___Users_sammingolelli_projects_git_repos_devops_ansible__ bash_.png)

Assume it’s an issue with the terminal type that Ansible is attempting to use and it not being able to support the UI elements that are required in the TUI above.

Is there any way I can work around this? I did not see any switches to the above installer that allowed me to do a completely silent install, foregoing the display of the TUI.
