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 - include_tasks: Windows-installer.yaml
when: git_run_installer when: git_run_installer
- name: clone config repos # - name: clone config repos
win_git: # win_git:
repo: '{{item.repo}}' # repo: '{{item.repo}}'
dest: '{{ansible_env.USERPROFILE}}/.config/{{item.name}}' # dest: '{{ansible_env.USERPROFILE}}\.config\{{item.name}}'
version: master # version: master
with_items: '{{git_config_repos}}' # with_items: '{{git_config_repos}}'
- win_owner: # - win_owner:
path: '{{ansible_env.USERPROFILE}}/.config/{{item.name}}' # path: '{{ansible_env.USERPROFILE}}\.config\{{item.name}}'
user: Benie # user: Benie
recurse: true # recurse: true
with_items: '{{git_config_repos}}' # with_items: '{{git_config_repos}}'
# - TODO: install pip packages # - TODO: install pip packages
# win_pip: # win_pip:

View File

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