Skip to content

Commit

Permalink
Fixup single signer
Browse files Browse the repository at this point in the history
Signed-off-by: Dylan Schultz <[email protected]>
  • Loading branch information
dylanschultzie committed Aug 10, 2023
1 parent 1b33c4d commit 1f1df8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/horcrux_create_shares/tasks/create_single_share.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
- name: Copy keys
copy:
src: "keys/priv_validator_key.json"
dest: "{{ horcrux_dir }}/priv_validator_key.json"
dest: "{{ horcrux_dir }}/{{ chain_id }}_priv_validator_key.json"
owner: "{{ horcrux_user }}"
group: "{{ horcrux_user }}"
mode: '0400'

- name: Find remote key share
stat:
path: "{{ horcrux_dir }}/priv_validator_key.json"
path: "{{ horcrux_dir }}/{{ chain_id }}_priv_validator_key.json"
register: share_moved

- name: Delete priv_validator_key.json
Expand Down

0 comments on commit 1f1df8b

Please sign in to comment.