update
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user