Specify git branch
This commit is contained in:
parent
61e99ed0b1
commit
8dc40ecb1e
3 changed files with 3 additions and 2 deletions
1
dhcp.yml
1
dhcp.yml
|
@ -4,6 +4,7 @@
|
||||||
vars:
|
vars:
|
||||||
service_repo: https://gitlab.federez.net/re2o/dhcp.git
|
service_repo: https://gitlab.federez.net/re2o/dhcp.git
|
||||||
service_name: dhcp
|
service_name: dhcp
|
||||||
|
service_version: master
|
||||||
service_config:
|
service_config:
|
||||||
hostname: re2o-server.adm.auro.re
|
hostname: re2o-server.adm.auro.re
|
||||||
username: service-user
|
username: service-user
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
git:
|
git:
|
||||||
repo: "{{ service_repo }}"
|
repo: "{{ service_repo }}"
|
||||||
dest: "{{ service_homedir }}/{{ service_name }}"
|
dest: "{{ service_homedir }}/{{ service_name }}"
|
||||||
version: master
|
version: "{{ service_version }}"
|
||||||
become: true
|
become: true
|
||||||
become_user: "{{ service_user }}"
|
become_user: "{{ service_user }}"
|
||||||
|
|
||||||
|
|
|
@ -16,4 +16,4 @@
|
||||||
state: directory
|
state: directory
|
||||||
owner: "{{ service_user }}"
|
owner: "{{ service_user }}"
|
||||||
group: nogroup
|
group: nogroup
|
||||||
mode: 0700
|
mode: 0755
|
||||||
|
|
Loading…
Reference in a new issue