YugabyteDB Playbooks¶
The yugabyte playbooks provide standalone YugabyteDB crypto generation helpers. Normal YugabyteDB lifecycle operations for committer-backed deployments are invoked through the committer playbooks.
Playbooks flow¶
flowchart LR
CRYPTO[generate_crypto]
generate_crypto.yaml¶
generate_crypto.yaml handles the standalone OpenSSL-based TLS path for YugabyteDB clusters. It creates a self-signed cluster CA on the control node, generates node CSRs on YugabyteDB hosts, fetches those CSRs for signing, writes node certificates, and transfers the signed TLS material back to the matching YugabyteDB nodes.
ansible-playbook hyperledger.fabricx.yugabyte.generate_crypto --extra-vars '{"target_hosts": "fabric_x_committer"}'
Properties:
- Target hosts:
allby default for the YugabyteDB host phases, pluslocalhostfor CA generation and certificate signing. Usetarget_hoststo restrict the YugabyteDB nodes. - Nuance: only hosts that define
yugabyte_component_typeparticipate in the node-side CSR and transfer steps. The TLS CA is grouped byyugabyte_cluster_idand organization metadata.