role git-repos: add option to force update
This commit is contained in:
parent
81393955a0
commit
5e1a75965c
2 changed files with 4 additions and 0 deletions
|
@ -8,12 +8,15 @@ common_repos:
|
|||
backend-scripts:
|
||||
repo_url: https://github.com/freifunk-mwu/backend-scripts.git
|
||||
version: ansible
|
||||
force: no
|
||||
icvpn-meta:
|
||||
repo_url: https://github.com/freifunk/icvpn-meta.git
|
||||
version: master
|
||||
force: no
|
||||
icvpn-scripts:
|
||||
repo_url: https://github.com/freifunk/icvpn-scripts.git
|
||||
version: master
|
||||
force: no
|
||||
|
||||
prometheus_components:
|
||||
- node_exporter
|
||||
|
|
|
@ -19,5 +19,6 @@
|
|||
repo: "{{ item.value.repo_url }}"
|
||||
dest: "/home/admin/clones/{{ item.key }}"
|
||||
version: "{{ item.value.version }}"
|
||||
force: "{{ item.value.force }}"
|
||||
with_dict: "{{ common_repos }}"
|
||||
become: false
|
||||
|
|
Loading…
Reference in a new issue