mirror of
https://github.com/morten-olsen/configs.git
synced 2026-02-08 00:46:24 +01:00
update
This commit is contained in:
22
playbooks/roles/terminal/tasks/nvim.yml
Normal file
22
playbooks/roles/terminal/tasks/nvim.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
- name: Configure neovim
|
||||
tags:
|
||||
- config
|
||||
- nvim
|
||||
ansible.builtin.git:
|
||||
repo: https://github.com/morten-olsen/nvim
|
||||
dest: "{{ home }}/.config/nvim"
|
||||
accept_newhostkey: true
|
||||
clone: true
|
||||
update: true
|
||||
force: true
|
||||
|
||||
- name: Prepare neovim
|
||||
tags:
|
||||
- config
|
||||
- nvim
|
||||
register: nviminstall
|
||||
changed_when: "nviminstall.stdout != ''"
|
||||
ansible.builtin.shell: nvim --headless +q
|
||||
args:
|
||||
executable: /bin/bash
|
||||
Reference in New Issue
Block a user