Skip to content

Commit

Permalink
Create role for neovim
Browse files Browse the repository at this point in the history
  • Loading branch information
geloman committed Jul 7, 2024
1 parent 8595840 commit eb97a8e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ansible/roles/neovim/tasks/install.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- name: Install neovim
ansible.builtin.package:
name: neovim
state: latest
2 changes: 2 additions & 0 deletions ansible/roles/neovim/tasks/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- ansible.builtin.import_tasks: install.yaml
- ansible.builtin.import_tasks: setup.yaml
5 changes: 5 additions & 0 deletions ansible/roles/neovim/tasks/setup.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- name: Symlink neovim config
ansible.builtin.file:
src: ~/.dotfiles/nvim
dest: ~/.config/nvim
state: link

0 comments on commit eb97a8e

Please sign in to comment.