Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
buluma committed May 3, 2024
1 parent 6149f6d commit feb0f1f
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 25 deletions.
3 changes: 3 additions & 0 deletions molecule/default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
hosts: all
vars:
nvim_user: shadowwalker
neovim: true
neovim_nightly: true
treesitter: true
tasks:
- name: Adding user
ansible.builtin.user:
Expand Down
50 changes: 25 additions & 25 deletions tasks/main.yml
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."

Check failure on line 7 in tasks/main.yml

View workflow job for this annotation

GitHub Actions / lint

package-latest

Package installs should not use latest.
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 :

0 comments on commit feb0f1f

Please sign in to comment.