This commit is contained in:
Paul van Noort 2021-05-26 11:10:18 +02:00
commit 6aad473d83
3 changed files with 24 additions and 9 deletions

View file

@ -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:

View file

@ -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:

View file

@ -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?