meta: use full names of Ansible roles
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
cedddac737
commit
c231a4320d
|
@ -10,12 +10,12 @@ galaxy_info:
|
|||
versions:
|
||||
- xenial
|
||||
dependencies:
|
||||
- name: consul-service
|
||||
- name: infra-role-consul-service
|
||||
src: git+git@github.com:status-im/infra-role-consul-service.git
|
||||
scm: git
|
||||
- name: open-ports
|
||||
- name: infra-role-open-ports
|
||||
src: git+git@github.com:status-im/infra-role-open-ports.git
|
||||
scm: git
|
||||
- name: systemd-timer
|
||||
- name: infra-role-systemd-timer
|
||||
src: git+git@github.com:status-im/infra-role-systemd-timer.git
|
||||
scm: git
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
register: nimbus_fluffy_bin
|
||||
|
||||
- name: Create timer for build script
|
||||
include_role: name=systemd-timer
|
||||
include_role: name=infra-role-systemd-timer
|
||||
vars:
|
||||
systemd_timer_name: '{{ nimbus_fluffy_build_service_name }}'
|
||||
systemd_timer_user: '{{ nimbus_fluffy_user }}'
|
||||
|
|
|
@ -1,22 +1,6 @@
|
|||
---
|
||||
- name: Query node ENR address
|
||||
uri:
|
||||
url: 'http://localhost:{{ nimbus_fluffy_rpc_port }}/'
|
||||
method: 'POST'
|
||||
body_format: 'json'
|
||||
body:
|
||||
id: 1
|
||||
jsonrpc: '2.0'
|
||||
method: 'discv5_nodeInfo'
|
||||
params: []
|
||||
register: node_info_raw
|
||||
|
||||
- name: Extract node ENR address
|
||||
set_fact:
|
||||
nimbus_fluffy_node_enr: '{{ node_info_raw.json.result.enr }}'
|
||||
|
||||
- name: 'Create Consul service definition'
|
||||
include_role: name=consul-service
|
||||
include_role: name=infra-role-consul-service
|
||||
vars:
|
||||
consul_config_name: '{{ nimbus_fluffy_consul_service_file_name }}'
|
||||
consul_services:
|
||||
|
@ -25,8 +9,6 @@
|
|||
port: '{{ nimbus_fluffy_listening_port }}'
|
||||
address: '{{ nimbus_fluffy_public_address }}'
|
||||
tags: ['{{ env }}.{{ stage }}', 'eth1', 'nimbus']
|
||||
meta:
|
||||
node_enr: '{{ nimbus_fluffy_node_enr }}'
|
||||
checks:
|
||||
- id: '{{ nimbus_fluffy_consul_service_name }}-health'
|
||||
name: '{{ nimbus_fluffy_consul_service_name }}-health'
|
||||
|
@ -44,8 +26,6 @@
|
|||
port: '{{ nimbus_fluffy_metrics_port }}'
|
||||
address: '{{ ansible_local.wireguard.vpn_ip }}'
|
||||
tags: ['{{ env }}.{{ stage }}', 'eth1', 'nimbus', 'metrics']
|
||||
meta:
|
||||
container: '{{ nimbus_fluffy_service_name }}'
|
||||
checks:
|
||||
- id: '{{ nimbus_fluffy_consul_metrics_service_name }}-health'
|
||||
name: '{{ nimbus_fluffy_consul_metrics_service_name }}-health'
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Open Libp2p ports in iptables
|
||||
include_role: name=open-ports
|
||||
include_role: name=infra-role-open-ports
|
||||
vars:
|
||||
open_ports_default_comment: '{{ nimbus_fluffy_service_name }}'
|
||||
open_ports_default_chain: 'SERVICES'
|
||||
|
|
Loading…
Reference in New Issue