From 18228db712c1fd970290c0eb7cbab28469668dfe Mon Sep 17 00:00:00 2001 From: damon Date: Thu, 30 Jan 2020 18:10:04 -0800 Subject: [PATCH] write account.txt as sudo --- deploy/ansible/worker/include/setup_geth.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/deploy/ansible/worker/include/setup_geth.yml b/deploy/ansible/worker/include/setup_geth.yml index 6a25c018b..5b80ef80e 100644 --- a/deploy/ansible/worker/include/setup_geth.yml +++ b/deploy/ansible/worker/include/setup_geth.yml @@ -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