Modules
Modules can be used from the command line or in a playbook task. Ansible executes each module, usually on the remote target node, and collects return values.
While different modules perform different tasks, their interfaces and responses follow similar patterns.
Invoking transactions
Ansible modules should work on the principle that they are idempotent; the same playbook can be executed more than once safetly. Submmiting a transactions to Fabric would break this concept.
The modules here are intended for administrative purposes; for this reason and to main the modules as being idempotent there are no modules for general purpose transaction invoking.
Module reference
Reference material for each module contains documentation on what parameters certain modules accept and what values they expect those parameters to be.
Contents:
- approved_chaincode – Manage an approved chaincode on a Hyperledger Fabric channel
- certificate_authority – Manage a Hyperledger Fabric certificate authority
- certificate_authority_info – Get information about a Hyperledger Fabric certificate authority
- chaincode_list_info – Get information about all installed and committed chaincodes on a Hyperledger Fabric channel
- channel_acl – Manage an ACL for a Hyperledger Fabric channel
- channel_block – Fetch blocks for a Hyperledger Fabric channel
- channel_capabilities – Manage the capabilities for a Hyperledger Fabric channel
- channel_config – Manage the configuration for a Hyperledger Fabric channel
- channel_consenter – Manage a consenter for a Hyperledger Fabric channel
- channel_consenters – Manage the consenters for a Hyperledger Fabric channel
- channel_member – Manage a member for a Hyperledger Fabric channel
- channel_member_info – Get information about a member for a Hyperledger Fabric channel
- channel_parameters – Manage the parameters for a Hyperledger Fabric channel
- channel_policy – Manage a policy for a Hyperledger Fabric channel
- committed_chaincode – Manage an committed chaincode on a Hyperledger Fabric channel
- connection_profile – Manage a connection profile for a Hyperledger Fabric network
- console_user – Manage the list of users for an IBM Blockchain Platform console
- consortium_member – Manage a consortium member for a Hyperledger Fabric ordering service
- consortium_member_info – Get information about a consortium member for a Hyperledger Fabric ordering service
- enrolled_identity – Manage an enrolled Hyperledger Fabric identity
- enrolled_identity_info – Get information about an enrolled Hyperledger Fabric identity
- external_certificate_authority – Manage an external Hyperledger Fabric certificate authority
- external_ordering_service – Manage an external Hyperledger Fabric ordering service
- external_ordering_service_node – Manage an external Hyperledger Fabric ordering service node
- external_organization – Manage an external Hyperledger Fabric organization
- external_peer – Manage an external Hyperledger Fabric peer
- installed_chaincode – Manage a chaincode installed on a Hyperledger Fabric peer
- instantiated_chaincode – Manage a instantiated chaincode on a Hyperledger Fabric channel
- ordering_service – Manage a Hyperledger Fabric ordering service
- ordering_service_admin – Manage an admin for a Hyperledger Fabric ordering service
- ordering_service_info – Get information about a Hyperledger Fabric ordering service
- ordering_service_node – Manage a Hyperledger Fabric ordering service node
- ordering_service_node_info – Get information about a Hyperledger Fabric ordering service node
- organization – Manage a Hyperledger Fabric organization
- organization_info – Get information about a Hyperledger Fabric organization
- peer – Manage a Hyperledger Fabric peer
- peer_channel – Manage the list of channels joined by a Hyperledger Fabric peer
- peer_info – Get information about a Hyperledger Fabric peer
- registered_identity – Manage a registered Hyperledger Fabric identity