Specify git branch

This commit is contained in:
Alexandre Iooss 2019-05-04 18:43:20 +02:00
parent 61e99ed0b1
commit 8dc40ecb1e
No known key found for this signature in database
GPG key ID: 6C79278F3FCDCC02
3 changed files with 3 additions and 2 deletions

View file

@ -4,6 +4,7 @@
vars:
service_repo: https://gitlab.federez.net/re2o/dhcp.git
service_name: dhcp
service_version: master
service_config:
hostname: re2o-server.adm.auro.re
username: service-user

View file

@ -6,7 +6,7 @@
git:
repo: "{{ service_repo }}"
dest: "{{ service_homedir }}/{{ service_name }}"
version: master
version: "{{ service_version }}"
become: true
become_user: "{{ service_user }}"

View file

@ -16,4 +16,4 @@
state: directory
owner: "{{ service_user }}"
group: nogroup
mode: 0700
mode: 0755