Refactor bitcoin-related roles and node config

This commit is contained in:
Râu Cao 2022-12-22 19:35:41 +07:00
parent 379a503dd0
commit fb1206d03f
Signed by: raucao
GPG Key ID: 15E65F399D084BA9
6 changed files with 34 additions and 13 deletions

View File

@ -101,16 +101,11 @@
"run_list": [
"role[base]",
"role[kvm_guest]",
"role[postgresql_client]",
"recipe[tor-full]",
"recipe[kosmos-bitcoin::source]",
"recipe[kosmos-bitcoin::c-lightning]",
"recipe[kosmos-bitcoin::lnd]",
"recipe[kosmos-bitcoin::lnd-scb-s3]",
"recipe[kosmos-bitcoin::boltz]",
"recipe[kosmos-bitcoin::rtl]",
"recipe[kosmos-bitcoin::lndhub]",
"recipe[kosmos-bitcoin::lndhub-go]",
"role[bitcoind]",
"role[cln]",
"role[lnd]",
"role[lndhub]",
"role[btcpay]"
]
}
}

5
roles/bitcoind.rb Normal file
View File

@ -0,0 +1,5 @@
name "bitcoind"
run_list %w(
kosmos-bitcoin::source
)

5
roles/cln.rb Normal file
View File

@ -0,0 +1,5 @@
name "cln"
run_list %w(
kosmos-bitcoin::c-lightning
)

8
roles/lnd.rb Normal file
View File

@ -0,0 +1,8 @@
name "lnd"
run_list %w(
kosmos-bitcoin::lnd
kosmos-bitcoin::lnd-scb-s3
kosmos-bitcoin::boltz
kosmos-bitcoin::rtl
)

7
roles/lndhub.rb Normal file
View File

@ -0,0 +1,7 @@
name "lndhub"
run_list %w(
role[postgresql_client]
kosmos-bitcoin::lndhub
kosmos-bitcoin::lndhub-go
)

View File

@ -18,18 +18,19 @@ default_run_list = %w(
kosmos_assets::nginx_site
kosmos_discourse::nginx
kosmos_drone::nginx
kosmos_garage::default
kosmos_garage::firewall_rpc
kosmos_garage::nginx_web
kosmos_gitea::nginx
kosmos_website::default
kosmos-akkounts::nginx_api
kosmos-bitcoin::nginx_lndhub
kosmos-ejabberd::nginx
kosmos-hubot::nginx_botka_irc-libera-chat
kosmos-hubot::nginx_hal8000_xmpp
kosmos-ipfs::nginx_public_gateway
kosmos-mastodon::nginx
remotestorage_discourse::nginx
kosmos_garage::default
kosmos_garage::firewall_rpc
kosmos_garage::nginx_web
)
env_run_lists(