update
This commit is contained in:
@@ -56,11 +56,27 @@
|
|||||||
mode: '0755'
|
mode: '0755'
|
||||||
checksum: sha256:https://github.com/neovim/neovim/releases/download/{{ nvim_version }}/nvim.appimage.sha256sum
|
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
|
- name: Download NVChad
|
||||||
|
become_user: user
|
||||||
shell: git clone https://github.com/NvChad/NvChad ~/.config/nvim --depth 1
|
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
|
- name: Download TPM
|
||||||
|
become_user: user
|
||||||
shell: git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
|
shell: git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
|
||||||
|
when: tpm.stat.exists == true
|
||||||
|
|
||||||
- name: Start and enable services
|
- name: Start and enable services
|
||||||
ansible.builtin.systemd:
|
ansible.builtin.systemd:
|
||||||
|
|||||||
Reference in New Issue
Block a user