feat(ubuntu): finished up ubuntu desktop setup

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
Tuan-Dat Tran
2025-01-24 08:55:45 +01:00
parent 7aab3a2801
commit e3da94c6a5
28 changed files with 328 additions and 208 deletions

View File

@@ -0,0 +1,25 @@
---
- name: Check if Neovim config directory already exists
ansible.builtin.stat:
path: "{{ nvim_config_path }}"
register: nvim_config
- name: Clone LazyVim starter to Neovim config directory
ansible.builtin.git:
repo: https://github.com/LazyVim/starter
dest: "{{ nvim_config_path }}"
clone: true
update: false
when: not nvim_config.stat.exists
- name: Remove .git directory from Neovim config
ansible.builtin.file:
path: "{{ nvim_config_path }}/.git"
state: absent
when: not nvim_config.stat.exists
- name: Install neovim npm package globally
community.general.npm:
name: neovim
global: true
become: true