2022-01-05 21:24:28 +00:00
|
|
|
---
|
|
|
|
- name: Add neovim PPA
|
|
|
|
apt_repository:
|
|
|
|
repo: "ppa:neovim-ppa/unstable"
|
|
|
|
become: true
|
|
|
|
|
|
|
|
- name: Install Neovim
|
|
|
|
ansible.builtin.package:
|
|
|
|
name:
|
|
|
|
- neovim
|
|
|
|
state: latest
|
|
|
|
become: true
|
|
|
|
|
|
|
|
- name: Create .config/nvim directory
|
|
|
|
ansible.builtin.file:
|
|
|
|
path: "{{ ansible_user_dir }}/.config/nvim"
|
|
|
|
state: directory
|
|
|
|
|
|
|
|
- name: Configuration files
|
|
|
|
ansible.builtin.file:
|
|
|
|
src: "{{ role_path }}/files/{{ item }}"
|
|
|
|
dest: "{{ ansible_user_dir }}/.config/nvim/{{ item }}"
|
|
|
|
state: link
|
|
|
|
with_items:
|
2022-01-09 23:24:41 +00:00
|
|
|
- after
|
|
|
|
- autoload
|
2022-01-05 21:24:28 +00:00
|
|
|
- init.lua
|
|
|
|
- lua
|