mirror of
https://github.com/geerlingguy/mac-dev-playbook
synced 2024-11-21 19:33:03 +00:00
yamllinter
This commit is contained in:
parent
2574bb2952
commit
63659ca41e
2 changed files with 6 additions and 6 deletions
|
@ -6,7 +6,7 @@ configure_terminal: false
|
|||
configure_osx: true
|
||||
configure_dock: []
|
||||
|
||||
configure_dock: True
|
||||
configure_dock: true
|
||||
dockitems_to_remove:
|
||||
- Launchpad
|
||||
- Safari
|
||||
|
@ -25,10 +25,10 @@ dockitems_to_remove:
|
|||
- 'App Store'
|
||||
remove_spacers: true
|
||||
dockitems_to_persist:
|
||||
- name: iTerm
|
||||
path: "/Applications/iTerm.app/"
|
||||
- name: "Google Chrome"
|
||||
path: "/Applications/Google Chrome.app/"
|
||||
- name: iTerm
|
||||
path: "/Applications/iTerm.app/"
|
||||
- name: "Google Chrome"
|
||||
path: "/Applications/Google Chrome.app/"
|
||||
configure_sudoers: false
|
||||
sudoers_custom_config: ''
|
||||
# Example:
|
||||
|
|
|
@ -6,9 +6,9 @@
|
|||
changed_when: false
|
||||
failed_when: '"No such file or directory" in dockitem_exists.stdout'
|
||||
tags: ['dock']
|
||||
|
||||
- name: Ensure unwanted dock items removed.
|
||||
ansible.builtin.command:
|
||||
cmd: dockutil --remove '{{ item }}'
|
||||
when: dockitem_exists.rc == 0
|
||||
tags: ['dock']
|
||||
|
||||
|
|
Loading…
Reference in a new issue