fabric-samples/full-stack-asset-transfer-guide/infrastructure/fabric_network_playbooks/16-import-ordering-service.yml
Josh Kneubuhl 4c656f6215 Import Full Stack Asset Transfer Guide at commit fb554befdbbeff9e69159b54fce0b811603f29c7
Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com>
2022-11-09 13:14:04 -05:00

18 lines
614 B
YAML

#
# SPDX-License-Identifier: Apache-2.0
#
---
- name: Import the ordering service
hosts: localhost
vars_files:
- /_cfg/fabric-common-vars.yml
- /_cfg/fabric-org2-vars.yml
tasks:
- name: Import the ordering service
ibm.blockchain_platform.external_ordering_service:
api_endpoint: "{{ api_endpoint }}"
api_authtype: "{{ api_authtype }}"
api_key: "{{ api_key }}"
api_secret: "{{ api_secret | default(omit) }}"
api_token_endpoint: "{{ api_token_endpoint | default(omit) }}"
ordering_service: "{{ lookup('file', ordering_service_name+'.json') }}"