Merge pull request #107 from dspolleke/terminal

fix playbook to run terminal on remote hosts as wel
This commit is contained in:
Jeff Geerling 2021-05-27 13:41:14 -05:00 committed by GitHub
commit ae521350b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 1 deletions

View file

@ -1,4 +1,6 @@
[defaults] [defaults]
nocows = True nocows = True
roles_path = ./roles:/etc/ansible/roles roles_path = ./roles:/etc/ansible/roles
inventory = inventory
become = true
stdout_callback = yaml stdout_callback = yaml

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 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"