From fc974a1b7a4ca5a62360f5bfd8c3445918c48d00 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Mon, 15 Feb 2021 18:10:21 -0600 Subject: [PATCH] Fix permissions and ensure correct config is used. --- tasks/miner/software/nanominer.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tasks/miner/software/nanominer.yml b/tasks/miner/software/nanominer.yml index fc390ad..b977553 100644 --- a/tasks/miner/software/nanominer.yml +++ b/tasks/miner/software/nanominer.yml @@ -103,11 +103,19 @@ whoami pwd - time {{ nanominer_exec }} + time {{ nanominer_exec }} {{ nanominer_config }} marker: '{mark}' marker_begin: "#!{{ bash_exec.stdout }}" marker_end: "exit 0" state: present create: yes + become_user: mfn + + + +## Permissions ## + +- name: Miner | Software | nanominer | Executable | Create + shell: "chmod -R 755 {{ user_mfn.home }}/nanominer*" become_user: mfn \ No newline at end of file