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

10 lines
358 B
YAML

---
- name: Check for Sublime Text directory
stat:
path: "{{ ansible_env.HOME }}/.config/sublime-text-3/Packages/User"
register: sublime
- name: Copy Sublime Text preferences
copy:
src: Preferences.sublime-settings
dest: "{{ ansible_env.HOME }}/.config/sublime-text-3/Packages/User/Preferences.sublime-settings"
when: sublime.stat.exists