From 5619a4189297c2f2d3f2f7401951961c1c2710d2 Mon Sep 17 00:00:00 2001 From: Sergio Nemirowski Date: Wed, 26 Jul 2023 14:06:18 +0300 Subject: [PATCH] wallet_struct -> wallet Signed-off-by: Sergio Nemirowski --- defaults/main.yml | 2 +- tasks/wallet.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index e439d37..5091deb 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -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. diff --git a/tasks/wallet.yml b/tasks/wallet.yml index da7c85c..0bda4de 100644 --- a/tasks/wallet.yml +++ b/tasks/wallet.yml @@ -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 }}' ]