Skip to content
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

chore: remove unused todo tasks #538

Merged
merged 1 commit into from
Sep 4, 2023
Merged
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
66 changes: 0 additions & 66 deletions ansible/roles/dashmate/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -268,69 +268,3 @@ Dashmate Config Changed: {{ is_dashmate_config_changed }}\n"
args:
chdir: '{{ dashmate_cwd }}'
changed_when: build_dashmate_helper.rc == 0

# TODO Convenient tasks until we have this functionality in dashmate
# - name: Replace parameters in tenderdash config
# ansible.builtin.lineinfile:
# path: /home/dashmate/.dashmate/testnet/platform/drive/tenderdash/config.toml
# regexp: "^(# )?{{ item.parameter }} = .*$"
# line: "{{ item.parameter }} = \"{{ item.value }}\""
# loop:
# # This field provides an unsafe override of the Propose timeout consensus parameter.
# # This field configures how long the consensus engine will wait for a proposal block before prevoting nil.
# # If this field is set to a value greater than 0, it will take effect.
# # Default: 3s
# - parameter: 'unsafe-propose-timeout-override'
# value: '5s'
#
# # This field provides an unsafe override of the ProposeDelta timeout consensus parameter.
# # This field configures how much the propose timeout increases with each round.
# # If this field is set to a value greater than 0, it will take effect.
# # Default: 500ms
# - parameter: 'unsafe-propose-timeout-delta-override'
# value: '1000ms'
#
# # This field provides an unsafe override of the Vote timeout consensus parameter.
# # This field configures how long the consensus engine will wait after receiving +2/3 votes in a round.
# # If this field is set to a value greater than 0, it will take effect.
# # Default: 1s
# - parameter: 'unsafe-vote-timeout-override'
# value: '5s'
#
# # This field provides an unsafe override of the VoteDelta timeout consensus parameter.
# # This field configures how much the vote timeout increases with each round.
# # If this field is set to a value greater than 0, it will take effect.
# # Default: 500ms,
# - parameter: 'unsafe-vote-timeout-delta-override'
# value: '1000ms'
#
# # This field provides an unsafe override of the Commit timeout consensus parameter.
# # This field configures how long the consensus engine will wait after receiving +2/3 precommits before beginning the next height.
# # If this field is set to a value greater than 0, it will take effect.
# # Default: 1s
# - parameter: 'unsafe-commit-timeout-override'
# value: '3s'

# - name: Create and start services if needed
# ansible.builtin.shell: |
# LOCAL_UID=$(id -u) LOCAL_GID=$(id -g) \
# docker compose --env-file {{ dashmate_home }}/.env \
# up -d
# become: true
# become_user: dashmate
# args:
# chdir: /usr/lib/dashmate
# register: dashmate_compose_command
# changed_when: dashmate_compose_command.rc == 0

# - name: Restart platform services
# ansible.builtin.shell: |
# LOCAL_UID=$(id -u) LOCAL_GID=$(id -g) \
# docker compose --env-file {{ dashmate_home }}/.env \
# restart drive_abci drive_tenderdash dapi_api dapi_tx_filter_stream
# become: true
# become_user: dashmate
# args:
# chdir: /usr/lib/dashmate
# register: dashmate_compose_command
# changed_when: dashmate_compose_command.rc == 0