From b860411ab3461ec039aac77974dea27a7ffe5799 Mon Sep 17 00:00:00 2001 From: Bo-Chun Louis Chen <louistw@uab.edu> Date: Fri, 4 Jan 2019 14:13:51 -0600 Subject: [PATCH] Fix easybuild installation problem 'Dont run bootstrap as root' problem while running eb install ansible task Simply put -b option(become) to let ansible run the bootstrap script as build user --- Vagrantfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vagrantfile b/Vagrantfile index 38bd4e3..5cd5982 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -34,7 +34,7 @@ Vagrant.configure("2") do |config| fi yum install -y ansible git vim bash-completion - ansible-playbook -c local -i /vagrant/CRI_XCBC/hosts -l `hostname` /vagrant/CRI_XCBC/site.yaml + ansible-playbook -c local -i /vagrant/CRI_XCBC/hosts -l `hostname` /vagrant/CRI_XCBC/site.yaml -b SHELL -- GitLab