56794341da
See https://github.com/kewlfft/ansible-aur/pull/58 for more info. Signed-off-by: Maxwell G <gotmax@e.email>
29 lines
575 B
YAML
29 lines
575 B
YAML
- name: Install neovim
|
|
kewlfft.aur.aur:
|
|
name: "{{ item }}"
|
|
become: true
|
|
become_user: aur_builder
|
|
loop:
|
|
- neovim
|
|
- neovim-qt
|
|
|
|
- name: Neovim config
|
|
git:
|
|
repo: https://git.theorangeone.net/sys/vim-config.git
|
|
dest: "{{ home }}/.config/nvim"
|
|
force: true
|
|
become: true
|
|
become_user: "{{ user }}"
|
|
|
|
- name: Install config for root user
|
|
file:
|
|
src: "{{ home }}/.config/nvim"
|
|
dest: /root/.config/nvim
|
|
state: link
|
|
|
|
# Aliases are too boring
|
|
- name: Install vim alias
|
|
file:
|
|
src: /usr/bin/nvim
|
|
dest: /usr/bin/vim
|
|
state: link
|