Add chown for script, make it a loop.

This commit is contained in:
Hyperling 2021-03-28 09:31:31 -05:00
parent 334e355065
commit 010a4ce7bb

View File

@ -107,8 +107,9 @@
## Personal Script Setup ##
- name: Ethminer | Download Script
shell: "scp ling@leet:InstallFiles/Miners/ethminer/ethminer.sh {{ user_mfn.home }}/"
- name: Ethminer | Script Permissions
shell: "chmod 755 {{ user_mfn.home }}/ethminer.sh"
- name: Ethminer | Script
shell: {{ item }}
loop:
- "scp ling@leet:InstallFiles/Miners/ethminer/ethminer.sh {{ user_mfn.home }}/"
- "chmod 755 {{ user_mfn.home }}/ethminer.sh"
- "chown {{ user_mfn.user }} {{ user_mfn.home }}/ethminer.sh"