ansible: Add git defaults to ansible-build role

This commit is contained in:
Alex Willmer 2020-05-09 22:52:04 +01:00
parent 394441cbb4
commit bba45ed183
4 changed files with 6 additions and 5 deletions

View File

@ -5,8 +5,6 @@
gather_facts: false
hosts: all
vars:
ava_binary: ~/go/src/github.com/ava-labs/gecko/build/ava
repo_folder: ~/go/src/github.com/ava-labs/gecko
repo_name: ava-labs/gecko-internal
repo_branch: platformvm-proposal-accept
roles:

View File

@ -0,0 +1,5 @@
ava_binary: ~/go/src/github.com/ava-labs/gecko/build/ava
repo_folder: ~/go/src/github.com/ava-labs/gecko
repo_name: ava-labs/gecko
repo_url: ssh://git@github.com/{{ repo_name }}.git
repo_branch: master

View File

@ -1,6 +1,6 @@
- name: Update git clone
git:
repo: ssh://git@github.com/{{ repo_name }}.git
repo: "{{ repo_url }}"
dest: "{{ repo_folder }}"
version: "{{ repo_branch }}"
update: yes

View File

@ -5,8 +5,6 @@
gather_facts: false
hosts: all
vars:
ava_binary: ~/go/src/github.com/ava-labs/gecko/build/ava
repo_folder: ~/go/src/github.com/ava-labs/gecko
repo_name: ava-labs/gecko-internal
repo_branch: platformvm-proposal-accept
roles: