From b60a00eb37250921377802ae430525ac7acacf08 Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Sun, 2 Jul 2023 12:11:33 -0500 Subject: [PATCH] update --- roles/packages/tasks/Pop!_OS-22.04.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/roles/packages/tasks/Pop!_OS-22.04.yml b/roles/packages/tasks/Pop!_OS-22.04.yml index 576a00d..bd7b7f1 100644 --- a/roles/packages/tasks/Pop!_OS-22.04.yml +++ b/roles/packages/tasks/Pop!_OS-22.04.yml @@ -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: