Skip to content

fix!: DAPI is missing on seed nodes #664

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: v1.0-dev
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 4 additions & 9 deletions ansible/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
- core_filebeat
- metricbeat

- name: Set up core and tenderdash on seed nodes
- name: Set up dashmate on seed nodes
hosts: seed_nodes
become: true
pre_tasks:
Expand All @@ -128,14 +128,9 @@
when: inventory_hostname in seed_nodes
roles:
- role: dash_cli
- role: dashd
dashd_listen: true
dashd_zmq: true
dashd_indexes: true
tags:
- dashd
- role: tenderdash
- core_filebeat
- role: dashmate
vars:
tenderdash_mode: seed
- metricbeat

- name: Set up core on masternodes
Expand Down
2 changes: 2 additions & 0 deletions ansible/roles/dashmate/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,5 @@ dashmate_platform_drive_tenderdash_consensus_unsafe_override_vote_delta:

restart_chunk_size: 10
restart_delay_minutes: 10

tenderdash_mode: validator
2 changes: 1 addition & 1 deletion ansible/roles/dashmate/templates/dashmate.json.j2
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@
}
},
"tenderdash": {
"mode": "validator",
"mode": "{{ tenderdash_mode }}",
"docker": {
"image": "{{ tendermint_image }}"
},
Expand Down
15 changes: 0 additions & 15 deletions ansible/roles/kill_platform/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,6 @@
ansible.builtin.import_role:
name: dashmate
tasks_from: destroy_platform
when: inventory_hostname in groups["hp_masternodes"]

- name: Remove tenderdash (seeds)
community.docker.docker_compose_v2:
project_src: '{{ tenderdash_compose_path }}'
state: absent
when:
- inventory_hostname not in groups["hp_masternodes"]

- name: Delete tenderdash dir (seeds)
ansible.builtin.file:
state: absent
path: '{{ tenderdash_compose_path }}'
when:
- inventory_hostname not in groups["hp_masternodes"]

- name: Remove any remaining docker data
community.docker.docker_prune:
Expand Down
52 changes: 0 additions & 52 deletions ansible/roles/tenderdash/tasks/main.yml

This file was deleted.

1 change: 0 additions & 1 deletion ansible/roles/tenderdash/templates/.env.j2

This file was deleted.

11 changes: 0 additions & 11 deletions ansible/roles/tenderdash/templates/docker-compose.yml.j2

This file was deleted.

Loading
Loading