Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Commit

Permalink
rename wallet var
Browse files Browse the repository at this point in the history
Signed-off-by: Sergio Nemirowski <[email protected]>
  • Loading branch information
Sergio Nemirowski authored and 532910 committed Jul 21, 2022
1 parent 2a263bc commit c7b316b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ neofs_ir__control_api_config_path: '{{ neofs_ir__conf_dir }}/control.yml'
# Directory for databases and processing results
neofs_ir__data_dir: '/var/lib/neofs/ir{{ neofs_ir__instance }}'

neofs_ir__wallet_content: ''
neofs_ir__wallet_struct: ''
neofs_ir__wallet_path: '{{ neofs_ir__conf_dir }}/wallet.json'
neofs_ir__wallet_address: ''
neofs_ir__wallet_passwd: ''
neofs_ir__wallet_password: ''

neofs_ir__control_enabled: False
neofs_ir__control_address: 'localhost'
Expand Down Expand Up @@ -58,7 +58,7 @@ neofs_ir__raw_config:
wallet:
path: '{{ neofs_ir__wallet_path }}'
address: '{{ neofs_ir__wallet_address }}'
password: '{{ neofs_ir__wallet_passwd }}'
password: '{{ neofs_ir__wallet_password }}'

morph:
endpoint:
Expand Down
2 changes: 1 addition & 1 deletion tasks/wallet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

- name: Copy NeoFS IR wallet
ansible.builtin.copy:
content: '{{ neofs_ir__wallet_content | to_nice_json(ensure_ascii=False) }}'
content: '{{ neofs_ir__wallet_struct | to_nice_json(ensure_ascii=False) }}'
dest: '{{ neofs_ir__wallet_path }}'
owner: 'root'
group: '{{ neofs_ir__group }}'
Expand Down
2 changes: 1 addition & 1 deletion templates/control.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

endpoint: '{{ neofs_ir__control_address }}:{{ neofs_ir__control_port }}'
wallet: '{{ neofs_ir__wallet_path }}'
password: '{{ neofs_ir__wallet_passwd }}'
password: '{{ neofs_ir__wallet_password }}'
#ir: true

0 comments on commit c7b316b

Please sign in to comment.