fix nvim bug

This commit is contained in:
kekskurse 2024-04-29 10:41:30 +02:00
parent 546618c7ab
commit 778d60fe68

View file

@ -108,20 +108,20 @@
path: "/opt/nvim-linux64/bin"
register: nvim
- name: Download foo.conf
- name: Download nvim for linux
ansible.builtin.get_url:
url: "https://github.com/neovim/neovim/releases/download/v0.9.5/nvim-linux64.tar.gz"
dest: "/tmp/nvim-linux64.tar.gz"
mode: '0440'
when: not nvim.stat.exists
- name: Extract foo.tgz into /var/lib/foo
- name: Extract nvim to /opt
ansible.builtin.unarchive:
src: "/tmp/nvim-linux64.tar.gz"
remote_src: "/tmp/nvim-linux64.tar.gz"
dest: /opt
when: not nvim.stat.exists
- name: Ensure SELinux is set to enforcing mode
- name: add nvim to path in bash
ansible.builtin.lineinfile:
path: ~/bashrc
regexp: '^export PATH'