9 Commits

Author SHA1 Message Date
e711b9f3b2 Add optional GitHub API authentication headers
If the `GITHUB_TOKEN` is defined in the Ansible controller's
environment it is used to set the GitHub REST API authentication header.
This is they passed to all `uri` modules tasks which interact with the
GitHub REST API. If the `GITHUB_TOKEN` is not set, the authentication
header is not used.

Fixes #19
2024-04-06 16:35:01 +01:00
643b4eac8d Add note about first time git install on windows 2023-12-23 23:16:35 +00:00
bec20420ff Add custom win_git module that actually works 2023-07-27 22:09:45 +01:00
5ac1081f90 Update git role to read tasks.yaml from cloned repo 2023-04-20 12:51:08 +01:00
b159445520 Ensure win_owner is recursive for win_git repos 2022-10-29 12:59:19 +01:00
06b511d823 Set the owner of Git repos on Windows
The `win_git` module clones repos as the current user, which since its
an admin login is the admin. This patch adjusts the `win_owner` to so
that repos are owned by the correct user when being used in a non-admin
capacity.
2022-09-10 16:18:21 +01:00
337237a6e8 Pin Git to v2.36.1 on Windows so win_git works
Git for Windows v2.37.3 (and probably all version in the v2.37 series)
cause the unofficial win_git module to hang. Downgrading the v2.36.1
works around this issue for the time being. The Chocolatey package for
Git also does not respect the version flag, so installation is now
performed manually by grabbing the v2.36.1 installer from the GitHub
release asset and running it manually when installation is required.
2022-09-10 15:04:54 +01:00
179273c22b Add git chocolatey package install 2022-05-12 20:29:45 +01:00
d4218aeeee Add git role for unix-like OS families and Windows 2022-04-30 16:58:55 +01:00