ansible playbooks to deploy Atomyze Hyperledger Fabric infrastructure #infra#ansible#deploy#fabric#ledger#
|
|
||
|---|---|---|
| cert-renew | ||
| images | ||
| init | ||
| ops | ||
| tools | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| README.md | ||
HLF deploy for Atomyze
This repository contains Ansible scripts to deploy Atomyze Hyperledger Fabric infrastructure.
- Deploy scenaries: all infrastructure on one server and each fabric node (peer, orderer) on it's own server (vm).
- Supports fabric nodes with public addresses or located behind the bastion
- Supports SoftHSM and YubiHSM for protecting private keys (CA's root, ca-admin and HLF admin)
how to deploy infrastructure
cd init; ansible-playbook -i <../inventory_file> -e "vault_addr=<>" -e "vault_token=<>" init_playbook.yml
If something went wrong during the deployment process you should clean up the deployment before restarting by command ansible-playbook -i <../inventory_file> destroy_playbook.yml. If you use YubiHSM you also should delete the keys created during the deployment process on the device.
how to deploy (or upgrade) tokens
cd ops; ansible-playbook -i <../inventory_file> -e "artifactory=<artifactory_login:pass>" -e "gitlab=<gitlab_token>" deploy_chaincode.yml