mirror of https://github.com/poanetwork/gecko.git
ansible: Split installation of Go from other dependencies
This makes it easier to skip, if Go has been installed by other means.
This commit is contained in:
parent
e067a150f0
commit
4cd9569e21
|
@ -1,4 +1,4 @@
|
|||
- name: Install deps
|
||||
- name: Install AVA dependencies
|
||||
become: true
|
||||
apt:
|
||||
name:
|
||||
|
@ -6,7 +6,6 @@
|
|||
- cmake
|
||||
- curl
|
||||
- g++
|
||||
- golang-go # Assumes Ubuntu 20.04, where this installs Go 1.13
|
||||
- libssl-dev
|
||||
- libuv1-dev
|
||||
- make
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
- name: Install Go
|
||||
become: true
|
||||
apt:
|
||||
name:
|
||||
# AVA (in May 2020) requires Go 1.13. On Ubuntu 20.04 LTS this package,
|
||||
# provides the appropriate version.
|
||||
- golang-go
|
||||
tags:
|
||||
- golang-base
|
|
@ -3,8 +3,9 @@
|
|||
- name: Configure AVA service
|
||||
hosts: ava_nodes
|
||||
roles:
|
||||
- name: ava-base
|
||||
- name: golang-base
|
||||
- name: gopath
|
||||
- name: ava-base
|
||||
- name: ava-build
|
||||
- name: ava-user
|
||||
- name: ava-install
|
||||
|
|
Loading…
Reference in New Issue