Skip to content

Commit

Permalink
schleuder-web: bundle: ensure to install gems
Browse files Browse the repository at this point in the history
Before, due to the 'when' condition, gems have not been installed
correctly which would have lead to errors further on, if bundle was
invoked.
  • Loading branch information
nevart committed May 21, 2024
1 parent 4f5fa2e commit 19fe80a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tasks/schleuder_web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
with_items:
- "path {{ schleuder_schleuder_web_home }}/.gem"

- name: Install bundle (when repo changed)
- name: Install bundle
ansible.builtin.command: "/usr/local/bin/bundle install"
changed_when: false
check_mode: no
Expand All @@ -147,7 +147,6 @@
become_user: "{{ schleuder_schleuder_web_user }}"
vars:
ansible_ssh_pipelining: True
when: __schleuder_repo_clone.changed # noqa: no-handler

- name: Check if schleuder-web systemd unit already exists
ansible.builtin.stat:
Expand Down

0 comments on commit 19fe80a

Please sign in to comment.