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

View file

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

View file

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

View file

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