[ansible] update base dev playbooks

pull/28/head
Alpha Chen 5 years ago
parent 40ffa8876b
commit 580bb04fdc

@ -23,8 +23,6 @@
- ruby
- zsh
# - import_playbook: playbooks/fish.yml
- hosts: all
tasks:

@ -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
# - 880001334 # Reeder 3
- 1449412482 # Reeder 4
- 904280696 # Things 3

@ -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

Loading…
Cancel
Save