Files
ansible_role_package/tasks/pkgs/neovide.yml
Matthew Stobbs ef8452eb0e remove unneeded notifys
Signed-off-by: Matthew Stobbs <matthew.stobbs@ucalgary.ca>
2025-05-12 12:26:35 -06:00

32 lines
864 B
YAML

# vim: set filetype=yaml.ansible :
---
- name: Add neovide
when:
- neovide_configured is undefined
block:
- name: Load neovide config
ansible.builtin.include_tasks:
file: config/neovide.yml
- name: Linux based neovide install
when:
- ansible_system == 'Linux'
block:
- name: Append neovide build_deps to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + neovide.deps }}"
- name: Append neovide to pkg_cargo
ansible.builtin.set_fact:
pkg_cargo: "{{ pkg_cargo + [neovide] }}"
- name: Append neovide to pkg_cask
when:
- ansible_system == 'Darwin'
ansible.builtin.set_fact:
pkg_cask: "{{ pkg_cask + ['neovide'] }}"
- name: Set neovide_configured
ansible.builtin.set_fact:
neovide_configured: true