Hello,
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?
Ansible task is as below:
- name: Install nagiosgraph-1.4.4.tar.gz after untar
shell: "{{ item }}"
with_items:
- perl Makefile.PL
- gmake
- gmake install
args:
chdir:
/tmp/{{build_name}}/{{binary}}/RHEL6_64Bit-Install/{{dependencies}}/nagiosgraph-1.4.4/
Thanks in advance,
Mona G
--
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/79d71070-dc05-4071-bc41-a865f163b628%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.