[ansible] update base dev playbooks

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

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

@ -75,22 +75,21 @@
- encryptme - encryptme
- fantastical - fantastical
- firefox-developer-edition - firefox-developer-edition
# - google-chrome - font-fira-mono
# - hammerspoon - font-hack
- font-source-code-pro
- google-chrome
- hammerspoon
- night-owl - night-owl
- qlmarkdown - qlmarkdown
- qlstephen - qlstephen
- quicklook-csv - quicklook-csv
- quicklook-json - quicklook-json
- resilio-sync
- signal - signal
- slack - slack
- vlc - vlc
- zoomus - zoomus
- homebrew/cask-drivers/logitech-options - 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 - name: install from app store
command: /usr/local/bin/mas install {{ item }} command: /usr/local/bin/mas install {{ item }}
@ -100,5 +99,6 @@
# - 451907568 # Paprika Recipe Manager # - 451907568 # Paprika Recipe Manager
# - 497799835 # Xcode # - 497799835 # Xcode
# - 585829637 # Todoist # - 585829637 # Todoist
- 880001334 # Reeder # - 880001334 # Reeder 3
- 904280696 # Things3 - 1449412482 # Reeder 4
- 904280696 # Things 3

@ -5,13 +5,13 @@
register: dockutil_result register: dockutil_result
- name: remove all Dock icons - name: remove all Dock icons
command: /usr/local/bin/dockutil --remove all 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 - name: add ~/Downloads to the Dock
command: /usr/local/bin/dockutil --add ~/Downloads command: /usr/local/bin/dockutil --add ~/Downloads
--view list --view list
--display stack --display stack
--sort datemodified --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 - name: remove Dockutil
homebrew: name=dockutil state=absent homebrew: name=dockutil state=absent

Loading…
Cancel
Save