diff --git a/ansible.cfg b/ansible.cfg index a823e99..532d633 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -1,4 +1,6 @@ [defaults] nocows = True roles_path = ./roles:/etc/ansible/roles +inventory = inventory +become = true stdout_callback = yaml diff --git a/tasks/terminal.yml b/tasks/terminal.yml index 3807ab6..f4a2678 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 + 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"