This commit is contained in:
Kenneth Benzie 2022-11-08 11:22:01 +00:00
parent bebe6de7cd
commit 825f6e41f8

View File

@ -1,9 +1,9 @@
---
- name: clone config repo
git:
repo: git@code.infektor.net:config/vim.git
dest: ~/.config/nvim
version: master
# - name: clone config repo
# git:
# repo: git@code.infektor.net:config/vim.git
# dest: ~/.config/nvim
# version: master
# TODO: - name: set repo email
@ -12,3 +12,14 @@
name: '{{neovim_pip_packages}}'
state: latest
extra_args: --user
- set_fact:
config_repo_tasks_path: ~/.config/nvim/tasks.yaml
- name: check for config repo tasks.yaml
stat:
path: '{{config_repo_tasks_path}}'
register: config_repo_tasks
- when: config_repo_tasks.stat.exists
include_tasks: '{{config_repo_tasks_path}}'