Merge pull request 'added "fai_config_git_version" var for choosing a branch or tag for a git repo' (#3) from moke/ansible-install-server:fai-config-branch-select into master
Reviewed-on: #3
This commit is contained in:
commit
c4c3f0470a
|
@ -9,6 +9,7 @@ all:
|
||||||
- "192.168.33.1"
|
- "192.168.33.1"
|
||||||
#nameservers:
|
#nameservers:
|
||||||
fai_config_git: "https://git.dezentrale.cloud/HW4F/fai-config.git"
|
fai_config_git: "https://git.dezentrale.cloud/HW4F/fai-config.git"
|
||||||
|
fai_config_git_version: "HEAD"
|
||||||
|
|
||||||
hosts:
|
hosts:
|
||||||
hw4f-fai-vagrant:
|
hw4f-fai-vagrant:
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
ansible.builtin.git:
|
ansible.builtin.git:
|
||||||
repo: "{{ fai_config_git }}"
|
repo: "{{ fai_config_git }}"
|
||||||
dest: "{{ fai_dir_config }}"
|
dest: "{{ fai_dir_config }}"
|
||||||
version: 'HEAD'
|
version: "{{ fai_config_git_version }}"
|
||||||
force: true
|
force: true
|
||||||
#recursive: true
|
#recursive: true
|
||||||
notify: pack fai-config
|
notify: pack fai-config
|
||||||
|
|
Loading…
Reference in New Issue