Skip to content

Commit 4f29218

Browse files
xxx
2 parents 549a87d + 46a890d commit 4f29218

File tree

14 files changed

+149
-6
lines changed

14 files changed

+149
-6
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,14 @@ python version = 3.7.4 (default, Jul 9 2019, 18:13:23) [Clang 10.0.1 (clang-100
6161

6262
- Gluster FS is used as persistent storage for all docker services hosted by an organization. In is required to have a seperate GlusterFS cluster in order to run this project on each of the **remote machines** that will host the HLF. We have created an easily deployable package for creating a GlusterFS cluster. Please check: [https://github.com/bityoga/mysome_glusterfs] and follow the ReadMe there!
6363

64+
## ansible-semaphore Setup Instructions:
65+
66+
These instructions is to be used only when utilising ansible-semaphore for deployment.
67+
68+
**Refer :** [ansible-semaphore-setup-instructions](/wiki/semaphore_instructions/)
69+
70+
For normal deployment process, ignore this and follow the instructions below.
71+
6472
## Configuration
6573
There are very few parameters to be configured currently. All configurations are made inside *group_vars/all.yml*.
6674
- **GlusterFS Setup** !Required

images/semaphore_1_create_key.png

54.1 KB
Loading
20.4 KB
Loading
22.2 KB
Loading
29.6 KB
Loading
50.6 KB
Loading
48.9 KB
Loading

images/semaphore_4_task_list.png

110 KB
Loading

roles/hlf/peer/tasks/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@
9797
- "CORE_LEDGER_STATE_COUCHDBCONFIG_COUCHDBADDRESS={{couchdb.name}}_{{item.name}}:5984"
9898
- "CORE_LEDGER_STATE_COUCHDBCONFIG_USERNAME={{couchdb.name}}"
9999
- "CORE_LEDGER_STATE_COUCHDBCONFIG_PASSWORD={{couchdb.password}}"
100+
- "CORE_CHAINCODE_BUILDER=hyperledger/fabric-ccenv:{{item.tag}}"
100101
working_dir: "{{item.path}}"
101102
placement:
102103
constraints:

roles/hlf_explorer/tasks/main.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,9 @@
104104
when: hlf_explorer.switch == "on"
105105

106106

107-
- shell: ls -tr /root/hlft-store/orgca/admin/msp/keystore/*_sk | tail -1
107+
- name: Register admin secret key name
108+
become: yes
109+
shell: ls -tr /root/hlft-store/orgca/admin/msp/keystore/*_sk | tail -1
108110
register: admin_secret_key_file
109111

110112
- name: Copy and Rename admin secret key '*_sk' file to a common name "admin_sk.key" which is specified in connection profile
@@ -346,4 +348,4 @@
346348
# ignore_errors: yes
347349
# raw:
348350
# 'docker exec -it $(docker ps -qf "name=^{{hlf_explorer_db.name}}") "./createdb.sh" 2>&1'
349-
# when: hlf_explorer.switch == "on" and inventory_hostname in groups.swarm_manager_prime
351+
# when: hlf_explorer.switch == "on" and inventory_hostname in groups.swarm_manager_prime

0 commit comments

Comments
 (0)