This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
tendermint
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
221
Wiki
Activity
Browse Source
Added getconfigtoml playbook
pull/1943/head
Greg Szabo
7 years ago
parent
be9c7fce9c
commit
d9824c1cc4
3 changed files
with
14 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+8
-0
ansible/getconfigtoml.yml
+6
-0
ansible/roles/getconfigtoml/tasks/main.yml
+0
-1
ansible/tomlconfig.yml
+ 8
- 0
ansible/getconfigtoml.yml
View 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
- 0
ansible/roles/getconfigtoml/tasks/main.yml
View 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
+ 0
- 1
ansible/tomlconfig.yml
View File
@ -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
Write
Preview
Loading…
Cancel
Save