Add version to git modules in roles:

- git-fastd-peers
- git-repos
- service-tinc
This commit is contained in:
Tobias Hachmer 2017-09-30 23:00:09 +02:00
parent 41d6fb0ff1
commit 3a9edaa666
4 changed files with 7 additions and 0 deletions

View file

@ -28,6 +28,7 @@
git: git:
repo: "{{ item.value.peers_mesh_repo }}" repo: "{{ item.value.peers_mesh_repo }}"
dest: "/etc/fastd/{{ item.key }}VPN/peers" dest: "/etc/fastd/{{ item.key }}VPN/peers"
version: master
update: no update: no
with_dict: "{{ meshes }}" with_dict: "{{ meshes }}"
become: false become: false
@ -36,6 +37,7 @@
git: git:
repo: "{{ item.value.peers_intragate_repo }}" repo: "{{ item.value.peers_intragate_repo }}"
dest: "/etc/fastd/{{ item.key }}igVPN/peers" dest: "/etc/fastd/{{ item.key }}igVPN/peers"
version: master
update: no update: no
with_dict: "{{ meshes }}" with_dict: "{{ meshes }}"
become: false become: false

View file

@ -18,5 +18,6 @@
git: git:
repo: "{{ item.value.repo_url }}" repo: "{{ item.value.repo_url }}"
dest: "/home/admin/clones/{{ item.key }}" dest: "/home/admin/clones/{{ item.key }}"
version: "{{ item.value.version }}"
with_dict: "{{ common_repos }}" with_dict: "{{ common_repos }}"
become: false become: false

View file

@ -2,7 +2,10 @@
common_repos: common_repos:
backend-scripts: backend-scripts:
repo_url: https://github.com/freifunk-mwu/backend-scripts.git repo_url: https://github.com/freifunk-mwu/backend-scripts.git
version: master
icvpn-meta: icvpn-meta:
repo_url: https://github.com/freifunk/icvpn-meta.git repo_url: https://github.com/freifunk/icvpn-meta.git
version: master
icvpn-scripts: icvpn-scripts:
repo_url: https://github.com/freifunk/icvpn-scripts.git repo_url: https://github.com/freifunk/icvpn-scripts.git
version: master

View file

@ -11,6 +11,7 @@
git: git:
repo: "{{ icvpn.icvpn_repo }}" repo: "{{ icvpn.icvpn_repo }}"
dest: /etc/tinc/{{ icvpn.interface }} dest: /etc/tinc/{{ icvpn.interface }}
version: master
update: no update: no
- name: set directory permissions - name: set directory permissions