ansible-galaxy
ansible-galaxy copied to clipboard
Ansible role review and relaunch as 2.0
Goal
- Remove all deprecated/legacy parameters
- Optimize the variables, rename if needed.
- Improve documentation
- Focus more on parachain deployments.
Legacy parameters
- Old rpc port flags (e.g
node_legacy_rpc_flags
,node_rpc_port
,node_rpc_ws_port
...), - Logs option, should be similar to helm-chart.
node_log_trace_enable: false
node_log_trace_config:
babe=trace,imonline=trace,slots=trace,sync=trace,consensus=trace,client=trace,forks=trace,txpool=debug,afg=trace,sub-authority-discovery=debug,sc_offchain=trace,runtime=trace,staking=trace,runtime::election-provider=trace
node_parachain_log_trace_enable: false
node_parachain_log_trace_config:
babe=trace,imonline=trace,slots=trace,sync=trace,consensus=trace,client=trace,forks=trace,txpool=debug,afg=trace,sub-authority-discovery=debug,sc_offchain=trace,runtime=trace,staking=trace,runtime::election-provider=trace
helm chart:
logLevels:
- "parachain=debug"
- "xcm=trace"
- Remove params for old versions.
# version Collator v0.5.3 and upper has fix, for previous version set to false
node_parachain_has_name_fix: true
Desired changes (optional)
-
node
andnode_parachain
naiming may be confusing for new parachain developers as they need to set up both parameters. However, a parachain can be launched without relaychain options.
Blockers
- Wait until rpc flags are stabilized: https://github.com/paritytech/polkadot-sdk/issues/5508
- Wait until Omni node release.
This should be released as v2.0.