mirror of
https://github.com/geerlingguy/mac-dev-playbook
synced 2024-11-22 11:53:08 +00:00
requested changes
This commit is contained in:
parent
63659ca41e
commit
5b47a103ce
3 changed files with 42 additions and 44 deletions
|
@ -6,29 +6,31 @@ configure_terminal: false
|
||||||
configure_osx: true
|
configure_osx: true
|
||||||
configure_dock: []
|
configure_dock: []
|
||||||
|
|
||||||
configure_dock: true
|
configure_dock: false
|
||||||
dockitems_to_remove:
|
dockitems_to_remove: []
|
||||||
- Launchpad
|
# Example: to remove all / some items added by default on Big Sur uncomment use example below
|
||||||
- Safari
|
# dockitems_to_remove:
|
||||||
- Messages
|
# - Launchpad
|
||||||
- Mail
|
# - Safari
|
||||||
- Maps
|
# - Messages
|
||||||
- Photos
|
# - Mail
|
||||||
- FaceTime
|
# - Maps
|
||||||
- Calendar
|
# - Photos
|
||||||
- Contacts
|
# - FaceTime
|
||||||
- Reminders
|
# - Calendar
|
||||||
- Notes
|
# - Contacts
|
||||||
- TV
|
# - Reminders
|
||||||
- Music
|
# - Notes
|
||||||
- Podcasts
|
# - TV
|
||||||
- 'App Store'
|
# - Music
|
||||||
remove_spacers: true
|
# - Podcasts
|
||||||
|
# - 'App Store'
|
||||||
|
|
||||||
dockitems_to_persist:
|
dockitems_to_persist:
|
||||||
- name: iTerm
|
|
||||||
path: "/Applications/iTerm.app/"
|
|
||||||
- name: "Google Chrome"
|
- name: "Google Chrome"
|
||||||
path: "/Applications/Google Chrome.app/"
|
path: "/Applications/Google Chrome.app/"
|
||||||
|
- name: "Sublime Text"
|
||||||
|
path: "/Applications/Sublime Text.app/"
|
||||||
configure_sudoers: false
|
configure_sudoers: false
|
||||||
sudoers_custom_config: ''
|
sudoers_custom_config: ''
|
||||||
# Example:
|
# Example:
|
||||||
|
|
2
main.yml
2
main.yml
|
@ -48,7 +48,7 @@
|
||||||
executable: "{{ item.executable | default(omit) }}"
|
executable: "{{ item.executable | default(omit) }}"
|
||||||
loop: "{{ gem_packages }}"
|
loop: "{{ gem_packages }}"
|
||||||
|
|
||||||
- include_tasks: tasks/dock.yml
|
- import_tasks: tasks/dock.yml
|
||||||
when: configure_dock
|
when: configure_dock
|
||||||
tags: ['dock']
|
tags: ['dock']
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
---
|
---
|
||||||
- name: ensure dock items
|
|
||||||
block:
|
|
||||||
- name: Install dockutil
|
- name: Install dockutil
|
||||||
homebrew:
|
homebrew:
|
||||||
name: dockutil
|
name: dockutil
|
||||||
|
@ -22,5 +20,3 @@
|
||||||
- item.pos is defined
|
- item.pos is defined
|
||||||
- item.pos length >0
|
- item.pos length >0
|
||||||
loop: "{{ dockitems_to_persist }}"
|
loop: "{{ dockitems_to_persist }}"
|
||||||
|
|
||||||
tags: ['dock']
|
|
||||||
|
|
Loading…
Reference in a new issue