From 0fcf5f38ec5084115ee665f1fa22898fcf52024b Mon Sep 17 00:00:00 2001 From: Steven Haddox Date: Fri, 25 Mar 2022 16:54:42 -0400 Subject: [PATCH] Fix RHEL 7 & 8 based distros to work around /tmp execution issues (#230) --- CHANGELOG.md | 1 + tasks/rvm.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f97ba8d32..6afc5fc35 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ #### Bug fixes +* Fix RHEL 7 & 8 based distros to work around /tmp execution issues (#155) * Fix bare variables in conditionals (deprecation warnings with Ansible 2.8+) (#204) * Fix boolean values when checking array (#207) * Fix regression forbidding installation of rubies (#209, fixed via #207) diff --git a/tasks/rvm.yml b/tasks/rvm.yml index b4b01cede..b75ec4471 100644 --- a/tasks/rvm.yml +++ b/tasks/rvm.yml @@ -44,7 +44,7 @@ - name: Install rvm shell: > - {{ rvm1_temp_download_path }}/rvm-installer.sh {{ rvm1_rvm_version }} + /usr/bin/env bash {{ rvm1_temp_download_path }}/rvm-installer.sh {{ rvm1_rvm_version }} --path {{ rvm1_install_path }} {{ rvm1_install_flags }} when: not rvm_binary.stat.exists