#!/bin/bash -x # start loading XSCE set -e yum -y update yum install -y git mkdir -p /opt/schoolserver cd /opt/schoolserver if [ ! -d ./xsce ]; then git clone https://github.com/xsce/xsce --branch release-6.2 --depth 1 fi cd /opt/schoolserver/xsce # copy the local_vars.yml into place cp vars/centos.localvars vars/local_vars.yml # The following command will install the correct version of Ansible ./scripts/ansible # upgrade setuptools pip install -U pip setuptools ./runansible # Try to rerun the above line if it fails!