-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnvim-osx.yml
34 lines (33 loc) · 1.09 KB
/
nvim-osx.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
- name: Download and Install NeoVim
hosts:
- all
- "*"
- localhost
gather_facts: false
vars_files: vars.yml
tasks:
- name: Install NVM OSX
block:
- name: Extract NVM
shell: brew install neovim
- name: Install ripgrep
shell: brew install ripgrep
- name: Install fzf
shell: brew install fzf
- name: Install TreeSitter
shell: brew install --HEAD tree-sitter
- name: Install Packer
git:
repo: https://github.com/wbthomason/packer.nvim
dest: '{{ unix_home }}/.local/share/nvim/site/pack/packer/opt/packer.nvim'
depth: 1
- name: Ensure directory exists
ansible.builtin.file:
path: '{{ unix_home }}/.config/nvim'
state: directory
mode: '0755' # Sets the permissions of the directory
- name: Add init
get_url:
url: https://raw.githubusercontent.com/c-jamie/dev-toolchain/master/dotfiles/init.lua
dest: '{{ unix_home }}/.config/nvim/init.lua'
mode: '0700'