Hi, I'm stucked with the same issue... The command seems to work when runned by hand, but it exit whit this output:
W: Failed to fetch http://repo.mongodb.org/apt/ubuntu/dists/utopic/mongodb-org/3.0/multiverse/binary-amd64/Packages 404 Not Found E: Some index files failed to download. They have been ignored, or old ones used instead. I think that it can be someway related to this. Am I right? Thanks in advance Il giorno venerdì 3 aprile 2015 20:30:53 UTC+2, James Martin ha scritto: > > Do the commands work when run by hand? Sounds like it could be a > connectivity issue. > > On Wednesday, April 1, 2015 at 7:57:52 PM UTC-4, Tom Gertin wrote: >> >> I am trying to run an 'apt-get update' command in my Ansible playbook but it >> is failing everytime. >> >> I am using the 'apt: update_cache=yes' command found here: >> http://docs.ansible.com/apt_module.html >> >> It returns the following error: >> >> TASK: [update apt cache] >> ****************************************************** >> failed: [localhost] => {"failed": true} >> msg: Could not fetch updated apt files >> >> FATAL: all hosts have already failed -- aborting >> >> >> I created an Ubuntu trusty machine using virtualbox and I installed Ansible >> on it and I am running the scripts on the VirtualBox. My repo, which >> contains my Ansible scripts is here: >> https://github.com/d3netxer/ansible-osm-history-set-up >> >> Thanks, >> >> Tom >> >> -- 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/4bdcbe9b-75fc-4671-8d6d-49eac9e3ae63%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
