26 lines
771 B
YAML
26 lines
771 B
YAML
---
|
|
- name: install chocolatey packages
|
|
win_chocolatey:
|
|
name: neovim
|
|
state: latest
|
|
|
|
- name: clone config repo
|
|
win_git:
|
|
repo: git@code.infektor.net:config/vim.git
|
|
dest: '{{ansible_env.LOCALAPPDATA}}/nvim'
|
|
version: master
|
|
|
|
# - TODO: neovim set repo email
|
|
# win_git_config:
|
|
# - TODO: neovim install pip packages
|
|
# win_pip:
|
|
# name: '{{neovim_pip_packages}}'
|
|
# state: latest
|
|
|
|
- name: create nvim start menu shortcut
|
|
win_shortcut:
|
|
src: '{{ansible_env.ChocolateyToolsLocation}}/neovim/nvim-win64/bin/nvim-qt.exe'
|
|
dest: '{{ansible_env.ProgramData}}/Microsoft/Windows/Start Menu/Programs/nvim-qt.lnk'
|
|
icon: '{{ansible_env.ChocolateyToolsLocation}}/neovim/nvim-win64/bin/nvim-qt.exe,0'
|
|
directory: '{{ansible_env.USERPROFILE}}'
|