=3
This commit is contained in:
parent
75cacd3182
commit
4be4c0a719
6 changed files with 75 additions and 8 deletions
|
@ -30,15 +30,11 @@
|
|||
- fish
|
||||
- git
|
||||
- libnss-mdns
|
||||
- neovim
|
||||
- nnn
|
||||
- rsync
|
||||
- sudo
|
||||
|
||||
- name: Add fish nnn quitcd function
|
||||
ansible.builtin.copy:
|
||||
src: ./quitcd.fish
|
||||
dest: /etc/fish/functions/n.fish
|
||||
- trash-cli
|
||||
- tmux
|
||||
|
||||
- name: Make sure avahi-daemon is running
|
||||
systemd_service:
|
||||
|
|
33
plays/tasks/software/neovim.yml
Normal file
33
plays/tasks/software/neovim.yml
Normal file
|
@ -0,0 +1,33 @@
|
|||
- name: Install dependencies
|
||||
apt:
|
||||
pkg:
|
||||
- ninja-build
|
||||
- gettext
|
||||
- cmake
|
||||
- unzip
|
||||
- curl
|
||||
|
||||
- name: Clone neovim repository
|
||||
ansible.builtin.git:
|
||||
repo: "https://github.com/neovim/neovim"
|
||||
dest: "{{ neovim_src_dir }}"
|
||||
version: stable
|
||||
clone: yes
|
||||
update: yes
|
||||
force: yes
|
||||
|
||||
- name: Check if recently built
|
||||
ansible.builtin.find:
|
||||
paths: "{{ neovim_binary_dir }}"
|
||||
patterns: nvim
|
||||
age: 1d
|
||||
register: days
|
||||
|
||||
- name: Build neovim
|
||||
when: days.matched != '0'
|
||||
community.general.make:
|
||||
chdir: "{{ neovim_src_dir }}"
|
||||
params:
|
||||
CMAKE_BUILD_TYPE: Release
|
||||
CMAKE_INSTALL_PREFIX: "{{ neovim_prefix_dir }}"
|
||||
target: install
|
Loading…
Add table
Add a link
Reference in a new issue