On 7/25/19 10:04 PM, Keith Mills wrote:
> Hi Stefan,
>
Hello Keith,
looks like the target host cannot reach the CPAN mirror.
Regards
Racke
>
> On Thursday, July 25, 2019 at 10:54:55 AM UTC-5, Stefan Hornburg (Racke) wrote:
>
> On 7/25/19 4:12 PM, Keith Mills wrote:
> > Hi Stefan,
> >
> > Thanks for the tasks! I have modified it a bit to what we use. See below:
> >
> > ---
> > - hosts: all
> > remote_user: root
> >
> > tasks:
> > - name: copy MyConfig.pm to the correct directory on remote host(s)
> > template:
> > src: ../../../library/conf/debian/
debian-myconfig.pm <
http://debian-myconfig.pm>
> > PERL_CPANM_OPT: "--mirror
http://hCPAN2.sde.rdlabs.hpecorp.net/ <
http://hCPAN2.sde.rdlabs.hpecorp.net/>"
> > ...
> >
> >
> > When I run this I get:
> >
> > failed: [ubuntu12ex6401] (item=HTTP::DAV) => {"ansible_loop_var": "item", "changed": false, "cmd": "/usr/bin/cpanm
> > HTTP::DAV -n", "item": "HTTP::DAV", "msg": "! Finding HTTP::DAV on cpanmetadb failed.\n! Finding HTTP::DAV on
> >
search.cpan.org <
http://search.cpan.org> failed.\n--> Working on HTTP::DAV\nFetching
>
search.cpan.org <
http://search.cpan.org>
> > Finding XML::Parser::PerlSAX on
search.cpan.org <
http://search.cpan.org> failed.\n--> Working on
> > XML::Parser on
search.cpan.org <
http://search.cpan.org> failed.\n--> Working on XML::Parser\nFetching
> >
http://hCPAN2.sde.rdlabs.hpecorp.net/authors/id/T/TO/TODDR/XML-Parser-2.44.tar.gz
> <
http://hCPAN2.sde.rdlabs.hpecorp.net/authors/id/T/TO/TODDR/XML-Parser-2.44.tar.gz> ... OK\nConfiguring XML-Parser-2.44
> > ... OK\nBuilding XML-Parser-2.44 ... FAIL\n! Installing XML::Parser failed. See /root/.cpanm/build.log for
> details.\n!
> > Bailing out the installation for libxml-perl-0.08. Retry with --prompt or --force.\n! Bailing out the installation
> for
> > XML-DOM-1.46. Retry with --prompt or --force.\n! Bailing out the installation for HTTP-DAV-0.49. Retry with
> --prompt or
> > --force.\n"}
> >
> > failed: [ubuntu12ex6401] (item=SOAP::Lite) => {"ansible_loop_var": "item", "changed": false, "cmd": "/usr/bin/cpanm
> > SOAP::Lite -n", "item": "SOAP::Lite", "msg": "! Finding SOAP::Lite on cpanmetadb failed.\n! Finding SOAP::Lite on
> >
search.cpan.org <
http://search.cpan.org> failed.\n--> Working on SOAP::Lite\nFetching
> > failed.\n! Finding IO::Socket::SSL on
search.cpan.org <
http://search.cpan.org> failed.\n--> Working on
> <
http://search.cpan.org> failed.\n--> Working
> <
http://search.cpan.org>
> > on
search.cpan.org <
http://search.cpan.org> failed.\n--> Working on XML::Parser\nFetching
> >
http://hCPAN2.sde.rdlabs.hpecorp.net/authors/id/T/TO/TODDR/XML-Parser-2.44.tar.gz
> <
http://hCPAN2.sde.rdlabs.hpecorp.net/> <
http://hCPAN2.sde.rdlabs.hpecorp.net/
> <
http://hCPAN2.sde.rdlabs.hpecorp.net/>>"
> > > ...
> > >
> > > --
> > > 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...@googlegroups.com <javascript:> <mailto:
ansible-proje...@googlegroups.com <javascript:>
> >
ansible...@googlegroups.com <javascript:> <mailto:
ansible-proje...@googlegroups.com <javascript:>>.
> > To view this discussion on the web visit
> >
https://groups.google.com/d/msgid/ansible-project/d2af32c7-f0ba-4120-8378-a988696501d8%40googlegroups.com
> <
https://groups.google.com/d/msgid/ansible-project/d2af32c7-f0ba-4120-8378-a988696501d8%40googlegroups.com>
> >
> <
https://groups.google.com/d/msgid/ansible-project/d2af32c7-f0ba-4120-8378-a988696501d8%40googlegroups.com?utm_medium=email&utm_source=footer
> --
> 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-proje...@googlegroups.com <mailto:
ansible-proje...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/ansible-project/747a9795-ad43-4c30-8355-85c72f647ea1%40googlegroups.com
> <
https://groups.google.com/d/msgid/ansible-project/747a9795-ad43-4c30-8355-85c72f647ea1%40googlegroups.com?utm_medium=email&utm_source=footer>.