-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Jane Sandberg <[email protected]> Co-authored-by: Max Kadel <[email protected]>
- Loading branch information
1 parent
9b1afb4
commit 2b8ba88
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,22 @@ | ||
--- | ||
# tasks file for roles/orangelight | ||
|
||
- name: orangelight | update rubygems | ||
ansible.builtin.command: gem update --system 3.5.10 | ||
become: true | ||
register: update_rubygems | ||
changed_when: '"Latest version already installed. Done." not in update_rubygems.stdout' | ||
tags: rubygems | ||
|
||
- name: orangelight | install default bundler | ||
ansible.builtin.command: gem install --default bundler:2.5.10 | ||
become: true | ||
register: install_default_bundler | ||
changed_when: '"Fetching bundler-2.5.10.gem" in install_default_bundler.stdout' | ||
tags: rubygems | ||
|
||
- name: bibdata | remove old default bundler | ||
ansible.builtin.file: | ||
path: /usr/local/lib/ruby/gems/3.1.0/specifications/default/bundler-2.5.9.gemspec | ||
state: absent | ||
tags: rubygems |