File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -75,9 +75,14 @@ echo "Please wait at least 15 minutes while the branch \"$BRANCH_NAME\" is being
7575ssh -T -i $PEM_FILE -o ' StrictHostKeyChecking no' -o ' UserKnownHostsFile=/dev/null' -o ' ConnectTimeout=300' $USER_AT_HOST << EOF
7676sudo yum -y install git nano ansible
7777git clone https://github.com/IQSS/dataverse-ansible.git dataverse
78+ # FIXME: remove these lines to check out the "extra-vars-travis" branch
79+ # after https://github.com/IQSS/dataverse-ansible/pull/27 has been merged.
80+ cd dataverse
81+ git checkout extra-vars-travis
82+ cd ..
83+ # FIXME: The lines to remove are above.
7884export ANSIBLE_ROLES_PATH=.
79- sed -i "s/branch:/branch: $BRANCH_NAME /" dataverse/defaults/main.yml
80- ansible-playbook -i dataverse/inventory dataverse/dataverse.pb --connection=local
85+ ansible-playbook -i dataverse/inventory dataverse/dataverse.pb --connection=local --extra-vars "branch=$BRANCH_NAME repo=https://github.com/IQSS/dataverse.git"
8186EOF
8287
8388# Port 8080 has been added because Ansible puts a redirect in place
You can’t perform that action at this time.
0 commit comments