This commit is contained in:
Kenneth Benzie 2023-06-10 11:21:08 +01:00
parent 352ef4c8d4
commit 2215ee589a
3 changed files with 1216 additions and 25 deletions

1194
git.py Normal file

File diff suppressed because it is too large Load Diff

View File

@ -31,17 +31,17 @@
- include_tasks: Windows-installer.yaml
when: git_run_installer
- name: clone config repos
win_git:
repo: '{{item.repo}}'
dest: '{{ansible_env.USERPROFILE}}/.config/{{item.name}}'
version: master
with_items: '{{git_config_repos}}'
- win_owner:
path: '{{ansible_env.USERPROFILE}}/.config/{{item.name}}'
user: Benie
recurse: true
with_items: '{{git_config_repos}}'
# - name: clone config repos
# win_git:
# repo: '{{item.repo}}'
# dest: '{{ansible_env.USERPROFILE}}\.config\{{item.name}}'
# version: master
# with_items: '{{git_config_repos}}'
# - win_owner:
# path: '{{ansible_env.USERPROFILE}}\.config\{{item.name}}'
# user: Benie
# recurse: true
# with_items: '{{git_config_repos}}'
# - TODO: install pip packages
# win_pip:

View File

@ -8,20 +8,17 @@
- set_fact:
vim_config_dir: '{{ansible_env.LOCALAPPDATA}}\nvim'
- name: clone config repo
win_git:
repo: git@code.infektor.net:config/vim.git
dest: '{{vim_config_dir}}'
branch: master
# clone: false
update: true
- win_owner:
path: '{{vim_config_dir}}'
user: Benie
recurse: true
- assert:
that: False
# - name: clone config repo
# win_git:
# repo: git@code.infektor.net:config/vim.git
# dest: '{{vim_config_dir}}'
# branch: master
# # clone: false
# update: true
# - win_owner:
# path: '{{vim_config_dir}}'
# user: Benie
# recurse: true
# - TODO: neovim set repo email
# win_git_config: