Hi

Based on your error message:
...     at org.eclipse.swt.widgets.Display.create(Display.java:900)",
"    at org.eclipse.swt.graphics.Device.<init>(Device.java:156)", "   
... 

It looks like the installer is failing when trying to bring up some
window/dialog box of some kind....

When running through ansible, it will NOT have access to a graphical
terminal...

On Wed, 2018-10-31 at 05:35 -0700, visar wrote:
> Hi Experts,
> Am very beginner on Ansible and need your kind advise here.
> 
>  I want to execute one installer file of IBM installation manger for
> its silent installation and my play book is throwing error here.
> Could you please help me here.
> 
> The same command when i tried manually it got worked. So my playbook
> need to correct something here.
> 
> PlayBook
> __________
> ---
>  - name: Silent installation of "IBM Installation Manager"
>    hosts: IHS
>    tasks:
>      - name: execyte the installation package of Installation manger
> silently with logs in Logdirectory
>        command: /opt/CLM-Web-Installer-Linux-
> 6.0.5/im/linux.gtk.x86_64/install --launcher.ini silent-install.ini
> -installationDirectory /opt/IBM/InstallationManager
> -installationDirectory  -svP -acceptLicense
> 
> 
> 
> Error:-
> _______
> 
> fatal: [10.10.20.9]: FAILED! => {"changed": true, "cmd": ["/opt/CLM-
> Web-Installer-Linux-6.0.5/im/linux.gtk.x86_64/install", "
> --launcher.ini", "silent-install.ini", "-installationDirectory",
> "/opt/IBM/InstallationManager", "-installationDirectory", "-svP", "-
> acceptLicense"], "delta": "0:00:01.525515", "end": "2018-10-31
> 18:08:09.266214", "msg": "non-zero return code", "rc": 13, "start":
> "2018-10-31 18:08:07.740699", "stderr": "00:00.26 ERROR [main]
> org.eclipse.equinox.log.internal.ExtendedLogReaderServiceFactory
> safeLogged\n  Application error\n  org.eclipse.swt.SWTError: No more
> handles [gtk_init_check() failed]\n    at
> org.eclipse.swt.SWT.error(SWT.java:4394)\n    at
> org.eclipse.swt.widgets.Display.createDisplay(Display.java:914)\n   
> at org.eclipse.swt.widgets.Display.create(Display.java:900)\n    at
> org.eclipse.swt.graphics.Device.<init>(Device.java:156)\n    ...",
> "stderr_lines": ["00:00.26 ERROR [main]
> org.eclipse.equinox.log.internal.ExtendedLogReaderServiceFactory
> safeLogged", "  Application error", "  org.eclipse.swt.SWTError: No
> more handles [gtk_init_check() failed]", "    at
> org.eclipse.swt.SWT.error(SWT.java:4394)", "    at
> org.eclipse.swt.widgets.Display.createDisplay(Display.java:914)", " 
>   at org.eclipse.swt.widgets.Display.create(Display.java:900)", "   
> at org.eclipse.swt.graphics.Device.<init>(Device.java:156)", "   
> ..."], "stdout": "Install:\nAn error has occurred. See the log
> file\n/opt/CLM-Web-Installer-Linux-
> 6.0.5/im/linux.gtk.x86_64/configuration/1541023688055.log.",
> "stdout_lines": ["Install:", "An error has occurred. See the log
> file", "/opt/CLM-Web-Installer-Linux-
> 6.0.5/im/linux.gtk.x86_64/configuration/1541023688055.log."]}
> 
> 
> 
> 
> 
> -- 
> 
> 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/e9a7b21b-d51a-4d9c-a26e-058bbcd605b0%40googlegroups.com
> .
> 
> For more options, visit https://groups.google.com/d/optout.
> 


-- 
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/29a3a1ebcb56d4d52f95d1039f58f29716f32668.camel%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to