fix terminal to run with remote tasks as well

This commit is contained in:
dspolleke 2021-04-12 15:15:57 +02:00
parent 82979a7b30
commit eae5de681f
2 changed files with 10 additions and 2 deletions

View file

@ -27,8 +27,9 @@
- include_tasks: tasks/sudoers.yml - include_tasks: tasks/sudoers.yml
when: configure_sudoers when: configure_sudoers
- include_tasks: tasks/terminal.yml - import_tasks: tasks/terminal.yml
when: configure_terminal when: configure_terminal
tags: ['terminal']
- include_tasks: tasks/osx.yml - include_tasks: tasks/osx.yml
when: configure_osx when: configure_osx

View file

@ -7,7 +7,14 @@
check_mode: false check_mode: false
- name: Ensure custom Terminal profile is added. - 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 changed_when: false
when: "'JJG-Term' not in terminal_theme.stdout" when: "'JJG-Term' not in terminal_theme.stdout"