-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
28 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,36 @@ | ||
# tasks file for neovim | ||
--- | ||
|
||
- when: ansible_architecture == "x86_64" | ||
block: | ||
# - when: ansible_architecture == "x86_64" | ||
# block: | ||
|
||
- name: "Ensure FUSE installed for using appimages." | ||
ansible.builtin.apt: | ||
name: | ||
- libfuse2 | ||
state: latest | ||
when: ansible_os_family == "Debian" | ||
- name: "Ensure FUSE installed for using appimages." | ||
ansible.builtin.apt: | ||
name: | ||
- libfuse2 | ||
state: latest | ||
when: ansible_os_family == "Debian" | ||
|
||
- name: "Latest nvim installed." | ||
ansible.builtin.include_tasks: install-neovim.yml | ||
when: neovim | bool | ||
- name: "Latest nvim installed." | ||
ansible.builtin.include_tasks: install-neovim.yml | ||
when: neovim | bool | ||
|
||
- name: "Latest tree-sitter installed." | ||
ansible.builtin.include_tasks: install-treesitter.yml | ||
when: treesitter | bool | ||
- name: "Latest tree-sitter installed." | ||
ansible.builtin.include_tasks: install-treesitter.yml | ||
when: treesitter | bool | ||
|
||
- name: "Nightly neovim installed as 'nnvim'." | ||
ansible.builtin.get_url: | ||
url: "{{ nvim_nightly_url }}" | ||
dest: /usr/local/bin/nnvim | ||
owner: root | ||
group: root | ||
mode: '0755' | ||
when: neovim_nightly | bool | ||
- name: "Nightly neovim installed as 'nnvim'." | ||
ansible.builtin.get_url: | ||
url: "{{ nvim_nightly_url }}" | ||
dest: /usr/local/bin/nnvim | ||
owner: root | ||
group: root | ||
mode: '0755' | ||
when: neovim_nightly | bool | ||
|
||
- name: "Neovim PDE (Personal Development Environment)" | ||
ansible.builtin.include_tasks: neovim-PDE.yml | ||
when: neovim_pde | bool | ||
- name: "Neovim PDE (Personal Development Environment)" | ||
ansible.builtin.include_tasks: neovim-PDE.yml | ||
when: neovim_pde | bool | ||
|
||
... | ||
# vim : filetype=yaml.ansible : |