Hello Tavares, Thanks for your quick reply, really appreciated.
But i didnt understand how to to resolve it.. I am able to manually execute this command-line (install --launcher.ini silent-install.ini -installationDirectory /opt/IBM/InstallationManager -installationDirectory -svP -acceptLicense) by navigating to the location of the installer "install" in terminal(/opt/CLM-Web-Installer-Linux-6.0.5/im/linux.gtk.x86_64) and its success. But my yaml file only failing. any suggestions? On Wednesday, October 31, 2018 at 6:10:09 PM UTC+5:30, Mauricio Tavares wrote: > > From your log, > > org.eclipse.swt.SWTError: No more handles > On Wed, Oct 31, 2018 at 8:35 AM visar <[email protected] <javascript:>> > 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] <javascript:>. > > To post to this group, send email to [email protected] > <javascript:>. > > 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/09a8fd0e-b8ba-48d2-a5ee-f6f5ee5d4240%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
