debops / ansible-gitlab

Install, upgrade and manage GitLab instance
GNU General Public License v3.0
51 stars 23 forks source link

updating ruby gems is not re-attempted on failure #15

Open muelli opened 9 years ago

muelli commented 9 years ago

When installation of gitlab fails due to a missing libkrb5-dev, i.e.

TASK: [debops.gitlab | Update Ruby gems] ************************************** 
<192.168.121.245> REMOTE_MODULE command bundle install --deployment --without development test aws postgres chdir=/var/local/git/gitlab #USE_SHELL
failed: [vagrant_gitlab] => {"changed": true, "cmd": "bundle install --deployment --without development test aws postgres", "delta": "0:06:10.574651", "end": "2015-05-21 14:57:04.993957", "rc": 5, "start": "2015-05-21 14:50:54.419306", "warnings": []}
stdout: Fetching gem metadata from https://rubygems.org/........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Installing rake 10.4.2
Installing RedCloth 4.2.9
Installing ace-rails-ap 2.0.1
Installing i18n 0.7.0
Installing json 1.8.2
Installing minitest 5.3.5
Installing thread_safe 0.3.5
Installing tzinfo 1.2.2
Installing activesupport 4.1.9
Installing builder 3.2.2
Installing erubis 2.7.0
Installing actionview 4.1.9
Installing rack 1.5.2
Installing rack-test 0.6.3
Installing actionpack 4.1.9
Installing mime-types 1.25.1
Installing mail 2.6.3
Installing actionmailer 4.1.9
Installing activemodel 4.1.9
Installing arel 5.0.1.20140414130214
Installing activerecord 4.1.9
Installing rails-observers 0.1.2
Installing activeresource 4.0.0
Using bundler 1.9.9
....
TASK: [debops.gitlab | Update Ruby gems] ************************************** 
<192.168.121.245> REMOTE_MODULE command bundle install --deployment --without development test aws postgres chdir=/var/local/git/gitlab #USE_SHELL
failed: [vagrant_gitlab] => {"changed": true, "cmd": "bundle install --deployment --without development test aws postgres", "delta": "0:06:10.574651", "end": "2015-05-21 14:57:04.993957", "rc": 5, "start": "2015-05-21 14:50:54.419306", "warnings": []}
stdout: Fetching gem metadata from https://rubygems.org/........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Installing rake 10.4.2
Installing RedCloth 4.2.9
Installing ace-rails-ap 2.0.1
Installing i18n 0.7.0
Installing json 1.8.2
Installing minitest 5.3.5
Installing thread_safe 0.3.5
Installing tzinfo 1.2.2
Installing activesupport 4.1.9
Installing builder 3.2.2
Installing erubis 2.7.0
Installing actionview 4.1.9
Installing rack 1.5.2
Installing rack-test 0.6.3
Installing actionpack 4.1.9
Installing mime-types 1.25.1
Installing mail 2.6.3
Installing actionmailer 4.1.9
Installing activemodel 4.1.9
Installing arel 5.0.1.20140414130214
Installing activerecord 4.1.9
Installing rails-observers 0.1.2
Installing activeresource 4.0.0
Using bundler 1.9.9

then running debops does not try to execute that task again.

bfabio commented 7 years ago

I think this is no longer relevant.