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:
Oliver Davies 2022-01-05 21:24:28 +00:00
parent e11cf61218
commit 8916e90050
73 changed files with 239 additions and 3783 deletions

View 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