diff --git a/jenkins-node/mantid-builder-macos/ansible/requirements.yml b/jenkins-node/mantid-builder-macos/ansible/requirements.yml index 9357fc7..cb9538a 100644 --- a/jenkins-node/mantid-builder-macos/ansible/requirements.yml +++ b/jenkins-node/mantid-builder-macos/ansible/requirements.yml @@ -1,3 +1,3 @@ --- collections: - - name: geerlingguy.mac \ No newline at end of file + - name: geerlingguy.mac diff --git a/jenkins-node/mantid-builder-macos/ansible/roles/agent/tasks/check-connection.sh b/jenkins-node/mantid-builder-macos/ansible/roles/agent/tasks/check-connection.sh index 2b1e4ca..1482de1 100644 --- a/jenkins-node/mantid-builder-macos/ansible/roles/agent/tasks/check-connection.sh +++ b/jenkins-node/mantid-builder-macos/ansible/roles/agent/tasks/check-connection.sh @@ -37,4 +37,4 @@ fi echo "Agent connected successfully. " -exit 0 \ No newline at end of file +exit 0 diff --git a/jenkins-node/mantid-builder-macos/ansible/roles/agent/tasks/main.yml b/jenkins-node/mantid-builder-macos/ansible/roles/agent/tasks/main.yml index 0a82476..ffd4a26 100644 --- a/jenkins-node/mantid-builder-macos/ansible/roles/agent/tasks/main.yml +++ b/jenkins-node/mantid-builder-macos/ansible/roles/agent/tasks/main.yml @@ -1,12 +1,14 @@ --- # Deploy Jenkins agent on macOS -# Install Requirements +# Set up the environment - name: Add user to sudoers on new macs. shell: /Applications/Privileges.app/Contents/Resources/PrivilegesCLI --add ignore_errors: true # Not all the macs have these, so don't panic if it fails. +# Install Requirements + - name: Install homebrew include_role: name: geerlingguy.mac.homebrew