[ansible] update base dev playbooks
change
commit 580bb04fdc170254d2781b25a49a97fc75dd1802
author Alpha Chen <alpha@kejadlen.dev>
date
parent 40ffa887
diff --git a/ansible/main.yml b/ansible/main.yml
index 5f0f564b..9eb07dbd 100644
--- a/ansible/main.yml
+++ b/ansible/main.yml
@@ -23,8 +23,6 @@
     - ruby
     - zsh
 
-# - import_playbook: playbooks/fish.yml
-
 - hosts: all
   tasks:
 
diff --git a/ansible/playbooks/homebrew.yml b/ansible/playbooks/homebrew.yml
index 4e10fd30..6ee59e11 100644
--- a/ansible/playbooks/homebrew.yml
+++ b/ansible/playbooks/homebrew.yml
@@ -75,22 +75,21 @@
         - encryptme
         - fantastical
         - firefox-developer-edition
-        # - google-chrome
-        # - hammerspoon
+        - font-fira-mono
+        - font-hack
+        - font-source-code-pro
+        - google-chrome
+        - hammerspoon
         - night-owl
         - qlmarkdown
         - qlstephen
         - quicklook-csv
         - quicklook-json
-        - resilio-sync
         - signal
         - slack
         - vlc
         - zoomus
         - homebrew/cask-drivers/logitech-options
-        - homebrew/cask-fonts/font-fira-mono
-        - homebrew/cask-fonts/font-hack
-        - homebrew/cask-fonts/font-source-code-pro
 
   - name: install from app store
     command: /usr/local/bin/mas install {{ item }}
@@ -100,5 +99,6 @@
       # - 451907568   # Paprika Recipe Manager
       # - 497799835   # Xcode
       # - 585829637   # Todoist
-      - 880001334   # Reeder
-      - 904280696   # Things3
+      # - 880001334   # Reeder 3
+      - 1449412482  # Reeder 4
+      - 904280696   # Things 3
diff --git a/ansible/roles/osx/tasks/dock.yml b/ansible/roles/osx/tasks/dock.yml
index 83a86385..c9c3d8ff 100644
--- a/ansible/roles/osx/tasks/dock.yml
+++ b/ansible/roles/osx/tasks/dock.yml
@@ -5,13 +5,13 @@
   register: dockutil_result
 - name: remove all Dock icons
   command: /usr/local/bin/dockutil --remove all
-  when: not (dockutil_result.stdout_lines | length == 1 and dockutil_result.stdout | search("^Downloads"))
+  when: not (dockutil_result.stdout_lines | length == 1 and dockutil_result.stdout is search("^Downloads"))
 - name: add ~/Downloads to the Dock
   command: /usr/local/bin/dockutil --add ~/Downloads
                                       --view list
                                       --display stack
                                       --sort datemodified
-  when: not (dockutil_result.stdout_lines | length == 1 and dockutil_result.stdout | search("^Downloads"))
+  when: not (dockutil_result.stdout_lines | length == 1 and dockutil_result.stdout is search("^Downloads"))
 
 - name: remove Dockutil
   homebrew: name=dockutil state=absent