Start using Ansible for config management

This commit is contained in:
Kenneth Benzie 2021-10-25 22:54:56 +01:00
parent c06b56115a
commit a46b128741
2 changed files with 19 additions and 7 deletions

View File

@ -1,7 +0,0 @@
---
- location: ~/.vim
- pip:
- vim-vint
- yamllint
- cmakelint
- compdb

19
main.yaml Normal file
View File

@ -0,0 +1,19 @@
# yaml-language-server: $schema=https://json.schemastore.org/ansible-playbook.json
---
- hosts: localhost
tasks:
- name: Install (neo)vim pip packages
pip:
name: '{{item}}'
state: latest
extra_args: --user
with_items:
- cmakelint
- compdb
- vim-vint
- yamllint
- name: Clone minpac repository
git:
repo: https://github.com/k-takata/minpac.git
dest: pack/minpac/opt/minpac
# TODO: Install language servers