write account.txt as sudo

pull/1605/head
damon 2020-01-30 18:10:04 -08:00
parent 190e651a49
commit 18228db712
1 changed files with 0 additions and 3 deletions

View File

@ -82,7 +82,6 @@
- name: "write new address to file for later use"
become: yes
become_user: nucypher
when: not account_file.stat.exists and new_geth_account_checksum is not undefined
copy:
content: "{{new_geth_account_checksum.stdout}}"
@ -90,7 +89,6 @@
- name: "write declared worker address to file if it exists"
become: yes
become_user: nucypher
when: NUCYPHER_WORKER_ADDRESS is not undefined
copy:
content: "{{NUCYPHER_WORKER_ADDRESS}}"
@ -98,7 +96,6 @@
- name: "get account address from file"
become: yes
become_user: nucypher
command: 'cat {{geth_dir}}account.txt'
register: active_account