started ansible config

This commit is contained in:
Christopher Beckmann
2024-01-25 18:22:53 +01:00
parent 7282276836
commit 0deb9d6eb3
27 changed files with 96 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
- name: Clone nvim repository
git:
repo: https://github.com/neovim/neovim
dest: "{{ ansible_env.HOME }}/src/nvim"
clone: true
version: "stable"
- name: Install nvim build dependencies
become: true
apt:
name:
- ninja-build
- gettext
- libtool
- libtool-bin
- autoconf
- automake
- cmake
- g++
- pkg-config
- unzip
- curl
- xclip
- ripgrep
state: present
- name: Build nvim release version
community.general.make:
chdir: deps/neovim
params:
CMAKE_BUILD_TYPE: Release
- name: Install nvim release version
become: true
community.general.make:
chdir: deps/neovim
target: install

View File