From 747f1a69925951e2ffe9c9b3a217543c033606d2 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Sat, 10 Dec 2022 16:08:20 +0000 Subject: [PATCH] Add watch role for macOS, implicitly installed on Linux --- UnixCLI.yaml | 1 + roles/watch/tasks/main.yaml | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 roles/watch/tasks/main.yaml diff --git a/UnixCLI.yaml b/UnixCLI.yaml index 76cdfd3..0ca68eb 100644 --- a/UnixCLI.yaml +++ b/UnixCLI.yaml @@ -23,6 +23,7 @@ - role: tidy - role: tree - role: yq + - role: watch - role: llvm - role: nodejs diff --git a/roles/watch/tasks/main.yaml b/roles/watch/tasks/main.yaml new file mode 100644 index 0000000..1349363 --- /dev/null +++ b/roles/watch/tasks/main.yaml @@ -0,0 +1,6 @@ +--- +- name: install homebrew package + when: ansible_os_family == "Darwin" + homebrew: + name: watch + state: latest