fix: update bash path

This commit is contained in:
Oliver Davies 2022-10-03 17:46:49 +01:00
parent 23d776e537
commit f64b58d6f5
4 changed files with 23 additions and 115 deletions

View file

@ -1,53 +1,4 @@
---
- name: Dependencies
ansible.builtin.package:
name:
- autoconf
- automake
- cmake
- curl
- doxygen
- g++
- gettext
- libtool
- libtool-bin
- ninja-build
- pkg-config
- unzip
state: latest
become: yes
- name: Clone
ansible.builtin.git:
clone: yes
depth: 1
dest: "{{ ansible_user_dir }}/build/neovim"
repo: https://github.com/neovim/neovim.git
# single_branch: yes
update: yes
version: "{{ neovim_version | default('master') }}"
register: clone
- name: Build
make:
chdir: "{{ ansible_user_dir }}/build/neovim"
params:
CMAKE_BUILD_TYPE: RelWithDebInfo
when: clone.changed
- name: Install
make:
chdir: "{{ ansible_user_dir }}/build/neovim"
target: install
become: yes
when: clone.changed
- name: Remove build folder
ansible.builtin.file:
path: "{{ ansible_user_dir }}/build/neovim/build"
state: absent
become: yes
- name: Create .config/nvim directory
ansible.builtin.file:
path: "{{ ansible_user_dir }}/.config/nvim"