dotfiles/playbooks/roles/fedora/tasks/neovim-nightly.yaml
2020-07-06 11:16:53 -04:00

28 lines
545 B
YAML

---
- name: ensure copr command installed
become: yes
become_method: sudo
dnf:
name:
- dnf-command(copr)
state: latest
- name: Add neovim-nightly copr
become: yes
become_method: sudo
when:
- nightly_neovim == true
command:
cmd: dnf copr enable -y agriffis/neovim-nightly
warn: false
creates: /etc/yum.repos.d/_copr_agriffis_neovim-nightly.repo
- name: Install neovim-nightly
become: yes
become_method: sudo
when:
- nightly_neovim == true
dnf:
name:
- neovim
state: latest