This commit is contained in:
2023-07-02 12:11:33 -05:00
parent 223f8f6ee7
commit b60a00eb37

View File

@@ -56,11 +56,27 @@
mode: '0755'
checksum: sha256:https://github.com/neovim/neovim/releases/download/{{ nvim_version }}/nvim.appimage.sha256sum
- name: check if nvchad is installed
become_user: user
stat:
path: ~/.config/nvim
register: nvchad
- name: Download NVChad
become_user: user
shell: git clone https://github.com/NvChad/NvChad ~/.config/nvim --depth 1
when: nvchad.stat.exists == true
- name: check if tpm is installed
become_user: user
stat:
path: ~/.tmux/plugins/tpm
register: tpm
- name: Download TPM
become_user: user
shell: git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
when: tpm.stat.exists == true
- name: Start and enable services
ansible.builtin.systemd: