workstation/roles/home-gui/tasks/sublimetext.yml

11 lines
390 B
YAML
Raw Normal View History

2020-02-12 12:11:29 +00:00
---
- name: Check for Sublime Text directory
2021-02-19 20:32:22 +00:00
ansible.builtin.stat:
2020-02-12 12:11:29 +00:00
path: "{{ ansible_env.HOME }}/.config/sublime-text-3/Packages/User"
register: sublime
- name: Copy Sublime Text preferences
2021-02-19 20:32:22 +00:00
ansible.builtin.copy:
2020-02-12 12:11:29 +00:00
src: Preferences.sublime-settings
dest: "{{ ansible_env.HOME }}/.config/sublime-text-3/Packages/User/Preferences.sublime-settings"
when: sublime.stat.exists