[ansible] only update homebrew on macOS
change
commit 3e34c916490692deaa3db4b5f078b44a4b19273e
author Alpha Chen <alpha.chen@gmail.com>
date
parent 3e796460
diff --git a/ansible/main.yml b/ansible/main.yml
index 19559e3a..40caa135 100644
--- a/ansible/main.yml
+++ b/ansible/main.yml
@@ -11,6 +11,9 @@
         repo: https://github.com/kejadlen/dotfiles.git
         dest: ~/.dotfiles
       ignore_errors: yes
+
+- hosts: os_MacOSX
+  tasks:
     - name: update homebrew
       homebrew: update_homebrew=yes