Skip to content

Commit

Permalink
wallet_struct -> wallet
Browse files Browse the repository at this point in the history
Signed-off-by: Sergio Nemirowski <[email protected]>
  • Loading branch information
532910 committed Jul 26, 2023
1 parent e4ae0f5 commit 5619a41
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ neogo__stateroot_keep_latest_state: false
neogo__wallet_unlock: false
neogo__wallet_path: '{{ neogo__conf_dir }}/wallet.json'
neogo__wallet_pass: ''
neogo__wallet_struct: ''
neogo__wallet: ''

# Systemd unit may use docker compose to run neo-go in container, instead of
# local binary.
Expand Down
4 changes: 2 additions & 2 deletions tasks/wallet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

- name: Copy NeoGo wallet
ansible.builtin.copy:
content: '{{ neogo__wallet_struct | to_nice_json(ensure_ascii=False) }}'
src: '{{ neogo__wallet }}'
dest: '{{ neogo__wallet_path }}'
owner: 'root'
group: '{{ neogo__group }}'
mode: '0660' # neogo legacy wants write permissions
when: neogo__wallet_struct|length
when: neogo__wallet|length
notify: [ 'Restart NeoGo{{ neogo__instance }}' ]

0 comments on commit 5619a41

Please sign in to comment.