From 095bacfc0525e99881af5a0fa4752416cff896a7 Mon Sep 17 00:00:00 2001 From: kekskurse Date: Sun, 28 Apr 2024 22:44:50 +0200 Subject: [PATCH] add nvim and lazynvim --- debian12-basic.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/debian12-basic.yml b/debian12-basic.yml index 3767241..ec09eb7 100644 --- a/debian12-basic.yml +++ b/debian12-basic.yml @@ -20,6 +20,8 @@ - net-tools - unzip - btop + - neovim + - git - name: Create swap file command: dd if=/dev/zero of={{ swapfile_path }} bs=1M count={{ swapfile_size }} @@ -93,4 +95,17 @@ mode: '0770' - name: Setup b2 client for backups - ansible.builtin.command: "b2 authorize_account {{ b2keyID }} {{ b2applicationKey }}" \ No newline at end of file + ansible.builtin.command: "b2 authorize_account {{ b2keyID }} {{ b2applicationKey }}" + + + # Setup neovim + - name: Check if nviom config folder exists + stat: + path: "~/.config/nvim" + register: nvimConfig + + - name: Git checkout + ansible.builtin.git: + repo: 'https://github.com/LazyVim/starter' + dest: '~/.config/nvim/' + when: not nvimConfig.state.exists