Skip to content

Commit

Permalink
try more cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
eins78 committed Jul 13, 2020
1 parent aa2363a commit 502875a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
13 changes: 4 additions & 9 deletions container-test/bin/install-dependencies
Expand Up @@ -2,14 +2,9 @@
set -euxo

# remove this packet if installed - its not needed and causes problems on Ubuntu
apt purge -y -f open-iscsi || true
apt-get purge -y -f open-iscsi || true

apt update
apt-get update

# first pacakges line only needed for container test,
# second line some deps for installing ruby and bundler,
# rest is standard recommendation
apt install -y -f \
ssh \
gcc libcurl4-openssl-dev libxml2-dev \
git curl build-essential libssl-dev default-jdk ruby libyaml-dev python2.7 python2.7-dev python-pip git libffi-dev
# extra packages for testing the container:
apt-get install -y -f curl ssh
2 changes: 1 addition & 1 deletion roles/leihs-database-install/tasks/ruby.yml
Expand Up @@ -7,7 +7,7 @@
export PATH=$HOME/.rubies/ruby-{{leihs_database_ruby_version}}/bin:$PATH
gem install bundler
cd /leihs/database
bundle install
bundle install --deployment
become: yes
become_user: "{{leihs_database_user}}"
become_method: sudo
Expand Down
2 changes: 1 addition & 1 deletion roles/leihs-legacy-install/tasks/install-ruby.yml
Expand Up @@ -8,7 +8,7 @@
which gem
gem install bundler
cd /leihs/legacy
bundle install
bundle install --deployment
become: yes
become_user: "{{leihs_legacy_user}}"
become_method: sudo
Expand Down

0 comments on commit 502875a

Please sign in to comment.