2022-11-06 14:07:55 +00:00
|
|
|
- name: Install neovim
|
2021-10-22 11:45:20 +00:00
|
|
|
become: true
|
|
|
|
package:
|
2021-11-24 10:19:49 +00:00
|
|
|
name:
|
2022-06-01 11:59:16 +00:00
|
|
|
- neovim
|
2022-01-18 09:19:19 +00:00
|
|
|
state: present
|
2021-10-22 11:45:20 +00:00
|
|
|
|
2022-06-01 11:59:16 +00:00
|
|
|
- name: Prepare vim config directory
|
2021-10-22 11:45:20 +00:00
|
|
|
file:
|
2022-06-01 11:59:16 +00:00
|
|
|
path: ~/.config/nvim/
|
|
|
|
state: directory
|
|
|
|
mode: '0755'
|
|
|
|
|
2022-11-06 14:07:55 +00:00
|
|
|
- name: clone Packer repo (Install packer)
|
|
|
|
ansible.builtin.git:
|
|
|
|
repo: https://github.com/wbthomason/packer.nvim.git
|
|
|
|
depth: 1
|
|
|
|
dest: ~/.local/share/nvim/site/pack/packer/start/packer.nvim
|
|
|
|
update: no
|
2021-10-22 11:45:20 +00:00
|
|
|
|
2022-11-06 14:07:55 +00:00
|
|
|
- name: Copy nvim config directory
|
2021-10-22 11:45:20 +00:00
|
|
|
copy:
|
2022-11-06 14:07:55 +00:00
|
|
|
src: dotfiles/nvim/
|
|
|
|
dest: ~/.config/nvim/
|