feat(ansible): add branch reference as variable in gitrepository (#919)

* feat: add branch reference as variable in gitrepository

* Update bootstrap/vars/config.sample.yaml

---------

Co-authored-by: Devin Buhl <onedr0p@users.noreply.github.com>
This commit is contained in:
Oscar RomeuandDevin Buhl authored and GitHub committed 2023-08-27 12:10:02 -04:00
1 parent 0db68d20b6
commit 78746180bc
4 files changed
+18 -1

No files matched your search

@@ -7,7 +7,7 @@ metadata:
spec:
interval: 30m
ref:
branch: main
branch: {{ bootstrap_github_repository_branch | default('main', true) }}
url: "https://github.com/{{ bootstrap_github_username }}/{{ bootstrap_github_repository_name }}.git"
ignore: |
# exclude all