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
 
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/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.

-- 
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/fa957310-7dc1-4a79-bffc-34a318ef079c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to