added variables (iroha_init_vars, iroha_generate_init_configs, iroha_update_runtime_configs) that control role execution. Toggling the variables will enable/disable certain parts of the role. It is useful if you just need to update Iroha configuration or Docker Compose files, for example. In that case iroha_init_vars, iroha_generate_init_configs can be set to false in a playbook.
added variables (iroha_custom_genesis_block, iroha_custom_genesis_block_path) that allow usage of a custom Genesis Block. Useful if you need a Genesis Block with custom roles, permissions, users etc.
Signed-off-by: Artyom Bakhtin a@bakhtin.net
Description of the Change
Refactor Ansible role for Iroha deployment:
iroha_init_vars
,iroha_generate_init_configs
,iroha_update_runtime_configs
) that control role execution. Toggling the variables will enable/disable certain parts of the role. It is useful if you just need to update Iroha configuration or Docker Compose files, for example. In that caseiroha_init_vars
,iroha_generate_init_configs
can be set tofalse
in a playbook.iroha_custom_genesis_block
,iroha_custom_genesis_block_path
) that allow usage of a custom Genesis Block. Useful if you need a Genesis Block with custom roles, permissions, users etc.iroha_
Benefits
More precise control over role execution
Possible Drawbacks
None
Usage Examples or Tests
See README.md