Added possibility to copy bootnodes.txt to remote machine
This commit is contained in:
parent
835c888bf1
commit
7dd405aade
|
@ -14,4 +14,4 @@ home: "/home/{{ username }}"
|
||||||
bootnode_archive: "off"
|
bootnode_archive: "off"
|
||||||
bootnode_orchestrator: "off"
|
bootnode_orchestrator: "off"
|
||||||
|
|
||||||
reboot_after_completion: true
|
reboot_after_completion: false
|
|
@ -19,4 +19,4 @@ MOC_ADDRESS: "0xdd0bb0e2a1594240fed0c2f2c17c1e9ab4f87126"
|
||||||
|
|
||||||
explorer_version: "acee07c"
|
explorer_version: "acee07c"
|
||||||
|
|
||||||
reboot_after_completion: true
|
reboot_after_completion: false
|
|
@ -29,5 +29,5 @@ home: "/home/{{ username }}"
|
||||||
|
|
||||||
moc_archive: "off"
|
moc_archive: "off"
|
||||||
|
|
||||||
reboot_after_completion: true
|
reboot_after_completion: false
|
||||||
|
|
||||||
|
|
|
@ -22,4 +22,4 @@ home: "/home/{{ username }}"
|
||||||
nginx_headers: "off"
|
nginx_headers: "off"
|
||||||
PROXY_PORT: "3000"
|
PROXY_PORT: "3000"
|
||||||
|
|
||||||
reboot_after_completion: true
|
reboot_after_completion: false
|
|
@ -10,3 +10,4 @@ MAIN_REPO_FETCH: "poanetwork"
|
||||||
GENESIS_BRANCH: "master"
|
GENESIS_BRANCH: "master"
|
||||||
|
|
||||||
spec_json: ""
|
spec_json: ""
|
||||||
|
bootnodes_txt: ""
|
|
@ -1,9 +1,12 @@
|
||||||
---
|
---
|
||||||
- name: Copy spec.json to remote machine
|
- name: Copy spec.json and bootnodes.txt to remote machine
|
||||||
copy: src={{ spec_json }} dest={{ home }}/ mode=0644 group={{ username }} owner={{ username }}
|
copy: src={{ spec_json }} dest={{ home }}/ mode=0644 group={{ username }} owner={{ username }}
|
||||||
when: spec_json != ""
|
when: spec_json != ""
|
||||||
|
with_items:
|
||||||
|
- {{ spec_json }}
|
||||||
|
- {{ bootnodes_txt }}
|
||||||
|
|
||||||
- name: Download spec.json
|
- name: Download spec.json and bootnodes.txt
|
||||||
get_url: url={{ item }} dest={{ home }}/ mode=0644 group={{ username }} owner={{ username }}
|
get_url: url={{ item }} dest={{ home }}/ mode=0644 group={{ username }} owner={{ username }}
|
||||||
with_items:
|
with_items:
|
||||||
- "https://raw.githubusercontent.com/{{ MAIN_REPO_FETCH }}/poa-chain-spec/{{ GENESIS_BRANCH }}/spec.json"
|
- "https://raw.githubusercontent.com/{{ MAIN_REPO_FETCH }}/poa-chain-spec/{{ GENESIS_BRANCH }}/spec.json"
|
||||||
|
|
|
@ -19,4 +19,4 @@ SCRIPTS_VALIDATOR_BRANCH: "mainnet"
|
||||||
MAIN_REPO_FETCH: "poanetwork"
|
MAIN_REPO_FETCH: "poanetwork"
|
||||||
BLK_GAS_LIMIT: "6700000"
|
BLK_GAS_LIMIT: "6700000"
|
||||||
|
|
||||||
reboot_after_completion: true
|
reboot_after_completion: false
|
Loading…
Reference in New Issue