Files
Cachy-workstation/roles/dotfiles/tasks/main.yml
T
2026-06-20 05:51:04 -05:00

29 lines
727 B
YAML

---
- name: Clone dot files repo
ansible.builtin.git:
repo: https://gitea.learningunix.net/cjr/dotfiles.git
dest: "{{ ansible_user_home }}/dotfiles"
update: true
version: main
- name: Clone the nvim repo
ansible.builtin.git:
repo: https://gitea.learningunix.net/cjr/vim.git
dest: "{{ ansible_user_home }}/nvim"
update: true
version: main
- name: Symlink .zshrc
ansible.builtin.file:
src: "{{ ansible_user_home }}/dotfiles/zsh/.zshrc"
dest: "{{ ansible_user_home }}/.zshrc"
state: link
force: true
- name: Symlink nvim config
ansible.builtin.file:
src: "{{ ansible_user_home }}/nvim"
dest: "{{ ansible_user_home }}/.config/nvim"
state: link
force: true