Skip to content

Commit ae52135

Browse files
authored
Merge pull request geerlingguy#107 from dspolleke/terminal
fix playbook to run terminal on remote hosts as wel
2 parents 7c7d436 + bbacfcb commit ae52135

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

ansible.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
[defaults]
22
nocows = True
33
roles_path = ./roles:/etc/ansible/roles
4+
inventory = inventory
5+
become = true
46
stdout_callback = yaml

tasks/terminal.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,14 @@
77
check_mode: false
88

99
- name: Ensure custom Terminal profile is added.
10-
command: open files/terminal/JJG-Term.terminal
10+
copy:
11+
src: files/terminal/JJG-Term.terminal
12+
dest: /tmp/JJG-Term.terminal
13+
changed_when: false
14+
when: "'JJG-Term' not in terminal_theme.stdout"
15+
16+
- name: Ensure custom Terminal profile is added.
17+
command: open /tmp/JJG-Term.terminal
1118
changed_when: false
1219
when: "'JJG-Term' not in terminal_theme.stdout"
1320

0 commit comments

Comments
 (0)