Ansible_workstation/roles/user/tasks/neovim.yml

23 lines
498 B
YAML
Raw Permalink Normal View History

2022-01-12 05:06:12 +00:00
---
- name: Install neovim
community.general.pacman:
name: neovim
state: present
when: ansible_os_family == "Archlinux"
- name: Install neovim
apt:
name: neovim
state: present
when: ansible_os_family == "Debian"
- name: Install packer
ansible.builtin.git:
repo: "https://github.com/wbthomason/packer.nvim"
dest: "/home/{{ user.username }}/.local/share/nvim/site/pack/packer/start/packer.nvim"
depth: 1
2022-03-04 04:56:37 +00:00
become: true
become_user: "{{ user.username }}"
2022-01-12 05:06:12 +00:00