From dade2e64efb3e75b25156144aba675d647fe09c8 Mon Sep 17 00:00:00 2001 From: Conor Finn Date: Wed, 8 Feb 2023 18:11:24 +0000 Subject: [PATCH] Fix other file's formatting RE #62 --- jenkins-node/mantid-builder-macos/ansible/requirements.yml | 2 +- .../ansible/roles/agent/tasks/check-connection.sh | 2 +- .../mantid-builder-macos/ansible/roles/agent/tasks/main.yml | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) 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