Skip to content

Commit

Permalink
More syntax issues
Browse files Browse the repository at this point in the history
  • Loading branch information
karimodm committed Oct 31, 2023
1 parent 38b4c61 commit 1e7ef7d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions deploy/ansible/hosts/feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ cores:
internal_nodes:
hosts:
node-01.feature.shimmer.iota.cafe:
validatorAccountAddress:"{{ NODE_01_VALIDATOR_ACCOUNTADDRESS }}"
validatorAccountAddress: "{{ NODE_01_VALIDATOR_ACCOUNTADDRESS }}"
validatorPrvKey: "{{ NODE_01_VALIDATOR_PRIVKEY }}"
p2pIdentityPrvKey: "{{ NODE_01_P2PIDENTITYPRIVATEKEY }}"
node-02.feature.shimmer.iota.cafe:
validatorAccountAddress:"{{ NODE_02_VALIDATOR_ACCOUNTADDRESS }}"
validatorAccountAddress: "{{ NODE_02_VALIDATOR_ACCOUNTADDRESS }}"
validatorPrvKey: "{{ NODE_02_VALIDATOR_PRIVKEY }}"
p2pIdentityPrvKey: "{{ NODE_02_P2PIDENTITYPRIVATEKEY }}"
node-03.feature.shimmer.iota.cafe:
validatorAccountAddress:"{{ NODE_03_VALIDATOR_ACCOUNTADDRESS }}"
validatorAccountAddress: "{{ NODE_03_VALIDATOR_ACCOUNTADDRESS }}"
validatorPrvKey: "{{ NODE_03_VALIDATOR_PRIVKEY }}"
p2pIdentityPrvKey: "{{ NODE_03_P2PIDENTITYPRIVATEKEY }}"
node-04.feature.shimmer.iota.cafe:
Expand Down
3 changes: 2 additions & 1 deletion deploy/ansible/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ export ANSIBLE_STRATEGY=free
export ANSIBLE_PIPELINING=true
export ANSIBLE_PERSISTENT_CONTROL_PATH_DIR="/tmp/"

set -x

ARGS=("$@")
ansible-playbook -u root -i deploy/ansible/hosts/"${1:-feature.yml}" \
--forks 20 --ssh-common-args "-o ControlMaster=auto -o ControlPersist=5m" \
Expand Down Expand Up @@ -35,5 +37,4 @@ NODE_04_FAUCET_PRIVKEY=$NODE_04_FAUCET_PRIVKEY
NODE_04_P2PIDENTITY_PRIVKEY=$NODE_04_P2PIDENTITY_PRIVKEY
NODE_05_P2PIDENTITY_PRIVKEY=$NODE_05_P2PIDENTITY_PRIVKEY" \

${ARGS[@]:2} deploy/ansible/"${2:-deploy.yml}"

0 comments on commit 1e7ef7d

Please sign in to comment.