From bfea2dd85781858cb78980c2442e1b560309938d Mon Sep 17 00:00:00 2001 From: dspolleke Date: Mon, 12 Apr 2021 15:15:57 +0200 Subject: [PATCH] fix terminal to run with remote tasks as well --- tasks/terminal.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tasks/terminal.yml b/tasks/terminal.yml index 3807ab6..528aec4 100644 --- a/tasks/terminal.yml +++ b/tasks/terminal.yml @@ -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"