Skip to content

Commit 1286d68

Browse files
committed
[readme] Add Ansible playbook
1 parent 4cb6e78 commit 1286d68

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

README.md

+10
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,16 @@ $ cat << EOF > ~/ansible/ansible.cfg
5050
host_key_checking = False
5151
roles_path = ./roles
5252
EOF
53+
$ cat << EOF > ~/ansible/playbooks/xmr-stak/site.yml
54+
---
55+
- name: Building xmr-stak miner program
56+
hosts: all
57+
user: debian
58+
become: true
59+
60+
roles:
61+
- cryptogrot.xmr-stak
62+
EOF
5363
$ ansible-galaxy install --force --roles-path ~/ansible/roles cryptogrot.xmr-stak
5464
```
5565

docs/ADVANCED.md

+10
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,16 @@ $ cat << EOF > ~/ansible/ansible.cfg
151151
host_key_checking = False
152152
roles_path = ./roles
153153
EOF
154+
$ cat << EOF > ~/ansible/playbooks/xmr-stak/site.yml
155+
---
156+
- name: Building xmr-stak miner program
157+
hosts: all
158+
user: debian
159+
become: true
160+
161+
roles:
162+
- cryptogrot.xmr-stak
163+
EOF
154164
$ ansible-galaxy install --force --roles-path ~/ansible/roles cryptogrot.xmr-stak
155165
```
156166

0 commit comments

Comments
 (0)