add nvim and lazynvim
This commit is contained in:
parent
15accba43f
commit
095bacfc05
1 changed files with 16 additions and 1 deletions
|
@ -20,6 +20,8 @@
|
||||||
- net-tools
|
- net-tools
|
||||||
- unzip
|
- unzip
|
||||||
- btop
|
- btop
|
||||||
|
- neovim
|
||||||
|
- git
|
||||||
|
|
||||||
- name: Create swap file
|
- name: Create swap file
|
||||||
command: dd if=/dev/zero of={{ swapfile_path }} bs=1M count={{ swapfile_size }}
|
command: dd if=/dev/zero of={{ swapfile_path }} bs=1M count={{ swapfile_size }}
|
||||||
|
@ -93,4 +95,17 @@
|
||||||
mode: '0770'
|
mode: '0770'
|
||||||
|
|
||||||
- name: Setup b2 client for backups
|
- name: Setup b2 client for backups
|
||||||
ansible.builtin.command: "b2 authorize_account {{ b2keyID }} {{ b2applicationKey }}"
|
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
|
||||||
|
|
Loading…
Reference in a new issue