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"
|
# - name: "Sublime Text"
|
||||||
# path: "/Applications/Sublime Text.app/"
|
# 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
|
configure_sudoers: false
|
||||||
sudoers_custom_config: ''
|
sudoers_custom_config: ''
|
||||||
# Example:
|
# Example:
|
||||||
|
|
4
main.yml
4
main.yml
|
@ -52,6 +52,10 @@
|
||||||
when: configure_dock
|
when: configure_dock
|
||||||
tags: ['dock']
|
tags: ['dock']
|
||||||
|
|
||||||
|
- import_tasks: tasks/dock.yml
|
||||||
|
when: configure_dock
|
||||||
|
tags: ['dock']
|
||||||
|
|
||||||
- name: Run configured post-provision ansible task files.
|
- name: Run configured post-provision ansible task files.
|
||||||
include_tasks: "{{ outer_item }}"
|
include_tasks: "{{ outer_item }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
|
|
|
@ -6,16 +6,16 @@
|
||||||
changed_when: false
|
changed_when: false
|
||||||
check_mode: false
|
check_mode: false
|
||||||
|
|
||||||
- name: ensure JJG-Term
|
- name: Ensure custom Terminal profile is added.
|
||||||
block:
|
ansible.builtin.copy:
|
||||||
- name: transfer the file
|
src: files/terminal/JJG-Term.terminal
|
||||||
copy:
|
dest: /tmp/JJG-Term.terminal
|
||||||
src: files/terminal/JJG-Term.terminal
|
changed_when: false
|
||||||
dest: /tmp/JJG-Term.terminal
|
when: "'JJG-Term' not in terminal_theme.stdout"
|
||||||
|
|
||||||
- name: Ensure custom Terminal profile is added.
|
- name: Ensure custom Terminal profile is added.
|
||||||
command: open /tmp/JJG-Term.terminal
|
command: open /tmp/JJG-Term.terminal
|
||||||
changed_when: false
|
changed_when: false
|
||||||
when: "'JJG-Term' not in terminal_theme.stdout"
|
when: "'JJG-Term' not in terminal_theme.stdout"
|
||||||
|
|
||||||
# TODO: This doesn't work in Yosemite. Consider a different solution?
|
# TODO: This doesn't work in Yosemite. Consider a different solution?
|
||||||
|
|
Loading…
Reference in a new issue