mirror of
https://github.com/fluencelabs/tendermint
synced 2025-05-11 22:37:11 +00:00
Added getconfigtoml playbook
This commit is contained in:
parent
be9c7fce9c
commit
d9824c1cc4
8
ansible/getconfigtoml.yml
Normal file
8
ansible/getconfigtoml.yml
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
|
||||
#variable "service" is required
|
||||
|
||||
- hosts: "{{ lookup('env','TF_VAR_TESTNET_NAME') }}:tag_Environment_{{ lookup('env','TF_VAR_TESTNET_NAME') | regex_replace('-','_') }}"
|
||||
roles:
|
||||
- getconfigtoml
|
||||
|
6
ansible/roles/getconfigtoml/tasks/main.yml
Normal file
6
ansible/roles/getconfigtoml/tasks/main.yml
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
|
||||
- name: Get config.toml from node
|
||||
fetch: "dest={{ destination | default('.') }} flat=yes src=/etc/{{service}}/tendermint/config.toml"
|
||||
run_once: yes
|
||||
|
@ -3,7 +3,6 @@
|
||||
#variable "service" is required
|
||||
|
||||
- hosts: "{{ lookup('env','TF_VAR_TESTNET_NAME') }}:tag_Environment_{{ lookup('env','TF_VAR_TESTNET_NAME') | regex_replace('-','_') }}"
|
||||
any_errors_fatal: "{{validators | default(true) | bool}}"
|
||||
roles:
|
||||
- tomlconfig
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user