added "fai_config_git_version" var for choosing a branch or tag for a git repo

This commit is contained in:
Moritz Kempe 2023-09-04 20:37:19 +02:00
parent 042ba68710
commit 7f942be06e
2 changed files with 2 additions and 1 deletions

View File

@ -9,6 +9,7 @@ all:
- "192.168.33.1"
#nameservers:
fai_config_git: "https://git.dezentrale.cloud/HW4F/fai-config.git"
fai_config_git_version: "HEAD"
hosts:
hw4f-fai-vagrant:

View File

@ -13,7 +13,7 @@
ansible.builtin.git:
repo: "{{ fai_config_git }}"
dest: "{{ fai_dir_config }}"
version: 'HEAD'
version: "{{ fai_config_git_version }}"
force: true
#recursive: true
notify: pack fai-config