From 1ecf03d2bcd1ae244e9dbcd515e945c19d4848a0 Mon Sep 17 00:00:00 2001 From: Florian Piesche <79453505+florianpiesche@users.noreply.github.com> Date: Tue, 20 Aug 2024 19:15:26 +0100 Subject: [PATCH] Only set up Homebrew on macOS hosts. --- roles/homebrew/tasks/main.yml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 roles/homebrew/tasks/main.yml diff --git a/roles/homebrew/tasks/main.yml b/roles/homebrew/tasks/main.yml new file mode 100644 index 0000000..a9288a1 --- /dev/null +++ b/roles/homebrew/tasks/main.yml @@ -0,0 +1,5 @@ +--- +- name: Set up Homebrew on macOS only + when: ansible_os_family == "Darwin" + ansible.builtin.include_tasks: + file: setup_homebrew.yml