Update prerequisites to include published files
This commit is contained in:
parent
3a483792f7
commit
c11937aef5
@ -10,12 +10,16 @@
|
||||
|
||||
- [ansible](playbooks/README.md#ansible-installation)
|
||||
|
||||
- Mainnet genesis file in [config](./config) folder
|
||||
|
||||
- Machine 3: Where the create-validator transaction is to be signed
|
||||
|
||||
- laconicd-stack
|
||||
|
||||
- [ansible](playbooks/README.md#ansible-installation)
|
||||
|
||||
- Staking amount file in [config](./config) folder
|
||||
|
||||
- Machine 4: Where the TMKMS service is to be setup
|
||||
|
||||
- laconicd-stack
|
||||
|
@ -8,12 +8,12 @@
|
||||
create_validator_dir: "{{data_directory}}/create-validator"
|
||||
spec_file: "{{data_directory}}/laconicd-validator-spec.yml"
|
||||
tasks:
|
||||
- name: Fail if DATA_DIRECTORY or MAINNET_DEPLOYMENT_DIR env vars are not set
|
||||
- name: Fail if DATA_DIRECTORY env var is not set
|
||||
fail:
|
||||
msg: >-
|
||||
Required environment variables are not set.
|
||||
Please export both DATA_DIRECTORY and MAINNET_DEPLOYMENT_DIR before running the playbook.
|
||||
when: lookup('env', 'DATA_DIRECTORY') == '' or lookup('env', 'MAINNET_DEPLOYMENT_DIR') == ''
|
||||
Please export DATA_DIRECTORY before running the playbook.
|
||||
when: lookup('env', 'DATA_DIRECTORY') == ''
|
||||
|
||||
- name: Fail if required key files are not defined
|
||||
fail:
|
||||
|
@ -63,12 +63,6 @@
|
||||
state: directory
|
||||
mode: '0755'
|
||||
|
||||
- name: Copy staking amount file to laconicd-data tmp directory
|
||||
copy:
|
||||
src: "{{ staking_amount_file }}"
|
||||
dest: "{{data_directory}}/{{ mainnet_deployment_dir }}/data/laconicd-data/tmp/staking-amount.json"
|
||||
mode: '0644'
|
||||
|
||||
- name: Copy genesis file to laconicd-data tmp directory
|
||||
copy:
|
||||
src: "{{ genesis_file }}"
|
||||
|
Loading…
Reference in New Issue
Block a user