mirror of
https://github.com/geerlingguy/mac-dev-playbook
synced 2024-11-28 14:50:22 +00:00
fix terminal to run with remote tasks as well
This commit is contained in:
parent
82979a7b30
commit
eae5de681f
2 changed files with 10 additions and 2 deletions
3
main.yml
3
main.yml
|
@ -27,8 +27,9 @@
|
|||
- include_tasks: tasks/sudoers.yml
|
||||
when: configure_sudoers
|
||||
|
||||
- include_tasks: tasks/terminal.yml
|
||||
- import_tasks: tasks/terminal.yml
|
||||
when: configure_terminal
|
||||
tags: ['terminal']
|
||||
|
||||
- include_tasks: tasks/osx.yml
|
||||
when: configure_osx
|
||||
|
|
|
@ -7,7 +7,14 @@
|
|||
check_mode: false
|
||||
|
||||
- name: Ensure custom Terminal profile is added.
|
||||
command: open files/terminal/JJG-Term.terminal
|
||||
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
|
||||
when: "'JJG-Term' not in terminal_theme.stdout"
|
||||
|
||||
|
|
Loading…
Reference in a new issue