Update prerequisites to include published files

This commit is contained in:
Shreerang Kale 2025-06-13 12:58:59 +05:30
parent 3a483792f7
commit c11937aef5
3 changed files with 7 additions and 9 deletions

View File

@ -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

View File

@ -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:

View File

@ -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 }}"