Skip to content

fix(ansible): make git credentials optional for repo clone (public repo)

Jérôme Revillard requested to merge fix/optional-git-credentials into main

Remove the mandatory vars_prompt for git_username/git_token in the "Project sync" play. If no credentials provided, clone the public repository without auth.

  • Remove interactive "Git username" prompt
  • Build URL with credentials only when git_username + git_token are provided
  • Private repos: still work by defining the variables in vault
  • Add info message when cloning without auth
Edited by Jérôme Revillard

Merge request reports

Loading