Start using Ansible for config management
This commit is contained in:
parent
c06b56115a
commit
a46b128741
@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
- location: ~/.vim
|
|
||||||
- pip:
|
|
||||||
- vim-vint
|
|
||||||
- yamllint
|
|
||||||
- cmakelint
|
|
||||||
- compdb
|
|
19
main.yaml
Normal file
19
main.yaml
Normal 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
|
Loading…
x
Reference in New Issue
Block a user