Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[indy] replace ansible roles readme with inline code comments #2411

Merged
merged 1 commit into from
Nov 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 0 additions & 61 deletions platforms/hyperledger-indy/configuration/README.md

This file was deleted.

3 changes: 1 addition & 2 deletions platforms/hyperledger-indy/configuration/cleanup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@
##################################################
# Playbook to cleanup platform specific resources
##################################################

- hosts: ansible_provisioners
gather_facts: no
no_log: "{{ no_ansible_log | default(false) }}"
tasks:
# ----------------------------------------------------------------------

# Cleanup all organizations' vault indy crypto
- name: Cleanup Vault indy crypto
include_role:
Expand Down
17 changes: 9 additions & 8 deletions platforms/hyperledger-indy/configuration/deploy-network.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -227,11 +227,12 @@
- (organizationItem.type == 'peer')
- (organizationItem.org_status is not defined or organizationItem.org_status == 'new')
- (not add_new_org|bool or (add_new_org|bool and add_new_org_new_nyms_on_ledger_present|bool))

vars: #These variables can be overriden from the command line
install_os: "linux" #Default to linux OS
install_arch: "amd64" #Default to amd64 architecture
bin_install_dir: "~/bin" #Default to /bin install directory for binaries
add_new_org: false
add_new_org_network_trustee_present: true
add_new_org_new_nyms_on_ledger_present: true

# These variables can be overriden from the command line
vars:
install_os: "linux" # Default to linux OS
install_arch: "amd64" # Default to amd64 architecture
bin_install_dir: "~/bin" # Default to /bin install directory for binaries
add_new_org: false # Default to false when not defined.
add_new_org_network_trustee_present: true # Default to true when not defined.
add_new_org_new_nyms_on_ledger_present: true # Default to true when not defined.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
# This role check trustee and stewards crypto in Vault
##############################################################################################

##############################################################################################

# Set a variable
- name: "Set component_name to a temporary variable for later use"
set_fact:
temp_component_name: "{{ component_name }}"
Expand All @@ -27,7 +26,6 @@
loop_var: trusteeItem
when: services.trustees is defined

##############################################################################################
# Check if Indy Key management pod for stewards is completed
- name: Check if Indy Key management pod for stewards is completed
include_role:
Expand All @@ -41,7 +39,6 @@
loop_var: stewardItem
when: services.stewards is defined

##############################################################################################
# Check if Indy Key management pod for endorser is completed
- name: Check if Indy Key management pod for endorser is completed
include_role:
Expand All @@ -55,7 +52,6 @@
loop_var: endorserItem
when: services.endorsers is defined

##############################################################################################
# Check trustee in vault
- name: "Check trustee in vault"
environment:
Expand All @@ -69,7 +65,6 @@
loop_var: trusteeItem
when: services.trustees is defined

##############################################################################################
# Check stewards in vault
- name: "Check stewards in vault"
environment:
Expand All @@ -83,7 +78,6 @@
loop_var: stewardItem
when: services.stewards is defined

##############################################################################################
# Check endorser in vault
- name: "Check endorser in vault"
environment:
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
register: token_output
when: component_type == "GetServiceAccount"

# Store token
- name: "Store token"
set_fact:
ac_vault_tokens: "{{ ac_vault_tokens | default({}) | combine( {organization: token_output.stdout} ) }}"
Expand Down
Loading
Loading