mirror of
https://github.com/geerlingguy/mac-dev-playbook
synced 2024-11-21 19:33:03 +00:00
rebase
This commit is contained in:
commit
6aad473d83
3 changed files with 24 additions and 9 deletions
|
@ -17,6 +17,17 @@ dockitems_persist: []
|
|||
# - name: "Sublime Text"
|
||||
# path: "/Applications/Sublime Text.app/"
|
||||
|
||||
# Set to 'true' to configure the Dock via dockutil.
|
||||
configure_dock: false
|
||||
dockitems_remove: []
|
||||
# - Launchpad
|
||||
# - TV
|
||||
# - Podcasts
|
||||
# - 'App Store'
|
||||
dockitems_persist: []
|
||||
# - name: "Sublime Text"
|
||||
# path: "/Applications/Sublime Text.app/"
|
||||
|
||||
configure_sudoers: false
|
||||
sudoers_custom_config: ''
|
||||
# Example:
|
||||
|
|
4
main.yml
4
main.yml
|
@ -52,6 +52,10 @@
|
|||
when: configure_dock
|
||||
tags: ['dock']
|
||||
|
||||
- import_tasks: tasks/dock.yml
|
||||
when: configure_dock
|
||||
tags: ['dock']
|
||||
|
||||
- name: Run configured post-provision ansible task files.
|
||||
include_tasks: "{{ outer_item }}"
|
||||
loop_control:
|
||||
|
|
|
@ -6,16 +6,16 @@
|
|||
changed_when: false
|
||||
check_mode: false
|
||||
|
||||
- name: ensure JJG-Term
|
||||
block:
|
||||
- name: transfer the file
|
||||
copy:
|
||||
src: files/terminal/JJG-Term.terminal
|
||||
dest: /tmp/JJG-Term.terminal
|
||||
- name: Ensure custom Terminal profile is added.
|
||||
ansible.builtin.copy:
|
||||
src: files/terminal/JJG-Term.terminal
|
||||
dest: /tmp/JJG-Term.terminal
|
||||
changed_when: false
|
||||
when: "'JJG-Term' not in terminal_theme.stdout"
|
||||
|
||||
- name: Ensure custom Terminal profile is added.
|
||||
command: open /tmp/JJG-Term.terminal
|
||||
changed_when: false
|
||||
- name: Ensure custom Terminal profile is added.
|
||||
command: open /tmp/JJG-Term.terminal
|
||||
changed_when: false
|
||||
when: "'JJG-Term' not in terminal_theme.stdout"
|
||||
|
||||
# TODO: This doesn't work in Yosemite. Consider a different solution?
|
||||
|
|
Loading…
Reference in a new issue