Skip to content

Conversation

@alex-moreno
Copy link

4.7.2 version does not work anymore:

TASK: [jiv_e.solr | Download Apache Solr] *************************************
failed: [localhost] => {"dest": "/tmp/ansible_solr/solr-4.7.2.tgz", "failed": true, "response": "HTTP Error 404: Not Found", "state": "absent", "status_code": 404, "url": "http://www.mirrorservice.org/sites/ftp.apache.org/lucene/solr/4.7.2/solr-4.7.2.tgz"}
msg: Request failed

FATAL: all hosts have already failed -- aborting

this PR should fix it

@jiv-e
Copy link
Owner

jiv-e commented Feb 8, 2016

I will merge this after someone else has confirmed this fix!

I may also be able to test this in recent future.

@alex-moreno
Copy link
Author

This is going to be prone to fail in the future too though. I wonder if we
could specify last stable version instead of an specific one, and if that
would bring other problems like incompatible updates or so

On Mon, 8 Feb 2016 21:13 jiv_e notifications@github.com wrote:

I will merge this after someone else has confirmed this fix!

I may also be able to test this in recent future.


Reply to this email directly or view it on GitHub
#5 (comment)
.

@jiv-e
Copy link
Owner

jiv-e commented Feb 8, 2016

That's a great point! I hope it could be possible to select the version. If you have some solution for selecting the newest version I'm happy to include it in. In fact I'm planning to rewrite this role to be available in Ansible Galaxy. I could try to figure this out for that release.

@alex-moreno
Copy link
Author

Let me have a look tomorrow, see if I can find /do something.

That'd great, I could give you a hand as in fact I was planning to use this
playbook for a project , but without all the stuff wrapped around (Vagrant
mainly), so it could be called from other playbooks... Basically what you
are suggesting as I understand :-)

On Mon, 8 Feb 2016, 22:50 jiv_e notifications@github.com wrote:

That's a great point! I hope it could be possible to select the version.
If you have some solution for selecting the newest version I'm happy to
include it in. In fact I'm planning to rewrite this role to be available in
Ansible Galaxy. I could try to figure this out for that release.


Reply to this email directly or view it on GitHub
#5 (comment)
.

@jiv-e
Copy link
Owner

jiv-e commented Feb 8, 2016

@alex-moreno
Copy link
Author

Very good stuff. It doesn't look like you are miles away, do you have an
idea if you want to put it in a new repo or keeping it on here? I may push
something, that's why I'm asking...

Cheers :-)

On Mon, 8 Feb 2016, 23:02 jiv_e notifications@github.com wrote:

Yes! Exactly!

Like this:
https://github.com/jiv-e/ansible-role-secure
https://galaxy.ansible.com/jiv_e/secure/


Reply to this email directly or view it on GitHub
#5 (comment)
.

@jiv-e
Copy link
Owner

jiv-e commented Feb 9, 2016

I think I will use this repo. Feel free to push! :)

@alex-moreno
Copy link
Author

I've just opened a tentative, it's my first role and I'm not how I can test it properly ? I'll give it a go in a different machine tomorrow morning from work.

#6

@extremal
Copy link

Thanks, worked like a charm for me!

@badrange
Copy link

badrange commented Jun 1, 2016

This doesn't work anymore either, version 4 is gone from there. If you need to use version 4, you can find it here: https://archive.apache.org/dist/lucene/solr/4.10.4/

@alex-moreno
Copy link
Author

I have updated the PR with a possible solution, thanks @badrange

it does not seem to be much interest on this PR though :-(

@jiv-e
Copy link
Owner

jiv-e commented Sep 9, 2016

I'm sorry for my low level of activity! I have too much stuff happening in my life at the moment.

I don't have time to test this. I ask someone to test Alex's pull request! I will merge this when it is tested.

@alex-moreno
Copy link
Author

no worries at all jiv-e, sorry to chase you on this.

host could also be used as localhost, it normally works as this by default

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants