refactor: combine with Ubuntu Provisioning repo
Combine with this repository with https://github.com/opdavies/ubuntu-provisioning so that everything can be managed in one place, and add a role for each piece of software.
This commit is contained in:
parent
e11cf61218
commit
8916e90050
73 changed files with 239 additions and 3783 deletions
26
roles/neovim/tasks/main.yaml
Normal file
26
roles/neovim/tasks/main.yaml
Normal file
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
- 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:
|
||||
- init.lua
|
||||
- lua
|
Loading…
Add table
Add a link
Reference in a new issue