hyperledger_labs / hyperledger_labs.fabric_ansible_collection / 2.0.0 / module / channel_capabilities Manage the capabilities for a Hyperledger Fabric channel Authors: Simon Stone (@sstone1) preview | supported by communityhyperledger_labs.fabric_ansible_collection.channel_capabilities (2.0.0) — module
Install with ansible-galaxy collection install hyperledger_labs.fabric_ansible_collection:==2.0.0
collections: - name: hyperledger_labs.fabric_ansible_collection version: 2.0.0
Specify the capability levels for a Hyperledger Fabric channel.
This module works with the IBM Support for Hyperledger Fabric software or the Hyperledger Fabric Open Source Stack running in a Red Hat OpenShift or Kubernetes cluster.
- name: Set application capability level for Hyperledger Fabric v1.4.x hyperledger.fabric_ansible_collection.channel_capabilities: path: channel_config.bin application: V1_4_2
- name: Set channel capability level for Hyperledger Fabric v1.4.x hyperledger.fabric_ansible_collection.channel_capabilities: path: channel_config.bin channel: V1_4_3
- name: Set orderer capability level for Hyperledger Fabric v1.4.x hyperledger.fabric_ansible_collection.channel_capabilities: path: channel_config.bin orderer: V1_4_2
- name: Set all channel capability levels for Hyperledger Fabric v2.x hyperledger.fabric_ansible_collection.channel_capabilities: path: channel_config.bin application: V2_0 channel: V2_0 orderer: V2_0
path: description: - Path to current the channel configuration file. - This file can be fetched by using the M(channel_config) module. - This file will be updated in place. You will need to keep a copy of the original file for computing the configuration update. required: true type: str channel: description: - The channel capability level. - The value must be a valid channel capability level supported by Hyperledger Fabric, and all peers and ordering service nodes in the channel being updated must support this channel capability level. - Example channel capability levels include C(V1_4_3) and C(V2_0). type: str orderer: description: - The orderer capability level for the channel. - The value must be a valid orderer capability level supported by Hyperledger Fabric, and all ordering service nodes in the channel being updated must support this orderer capability level. - Example orderer capability levels include C(V1_4_2) and C(V2_0). type: str application: description: - The application capability level for the channel. - The value must be a valid application capability level supported by Hyperledger Fabric, and all peers in the channel being updated must support this application capability level. - Example application capability levels include C(V1_4_2) and C(V2_0). type: str