On 25.05.2016 08:28, Mona Gopal wrote:
I am trying to install perl module for nagiosgraph-1.5.2  with ansible

which can be installed manually with three steps
1> perl Makefile.PL
2> gmake
3> gmake install


afetr 3> gmake install nagiosgraph asking to confirm path where its getting
installed. manually we keep pressing enter and finally its installed



Destination directory (prefix)? [/usr/local/nagiosgraph]

Location of configuration files (etc-dir)? [/usr/local/nagiosgraph/etc]

Location of executables? [/usr/local/nagiosgraph/bin]



But in ansible it is getting stuck in 3rd step as its waiting for the
inputs , how should this be handled?

Run gmake install with expect
https://docs.ansible.com/ansible/expect_module.html

--
Kai Stian Olstad

--
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/350e3000feddd287a0623f26a1df9d5f%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to