File tree 2 files changed +19
-6
lines changed
2 files changed +19
-6
lines changed Original file line number Diff line number Diff line change 1
- # Ansible playbook to automatically configure environment for Acto to run a baremetal machine
1
+ # Ansible playbook to automatically configure environment for Acto to run on a baremetal machine
2
+
2
3
To run the script, you first need an ` ansible_hosts ` file. Each line in the file should contain
3
4
a worker in your cluster. See https://docs.ansible.com/ansible/latest/user_guide/intro_inventory.html
4
5
for details.
5
6
6
7
An example:
8
+
7
9
``` ini
8
10
c220g5-110417.wisc.cloudlab.us ansible_connection =ssh ansible_user =tylergu ansible_port =22
9
11
c220g5-110418.wisc.cloudlab.us ansible_connection =ssh ansible_user =tylergu ansible_port =22
10
12
```
11
13
12
- If you haven't installed ` ansible playbook ` on your control node, run
14
+ If you haven't installed ` ansible-playbook ` on your control node, run
15
+
13
16
``` sh
14
17
pip3 install ansible
15
18
ansible-galaxy collection install ansible.posix
16
19
ansible-galaxy collection install community.general
17
- ```
18
-
19
- Then just run
20
20
```
21
- bash configure.sh
21
+
22
+ Then just run
23
+
24
+ ``` sh
25
+ ansible-playbook -i ansible_hosts configure.yaml
22
26
```
27
+
23
28
and the proper environment will be setup on the workers.
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
+
3
+ cat << EOF
4
+ Warning: This configure.sh is being deprecated. Run the following instead:
5
+
6
+ ansible-playbook -i ansible_hosts configure.yaml
7
+
8
+ EOF
9
+
2
10
ansible-playbook tmpfs.yaml -i ansible_hosts
3
11
ansible-playbook go.yaml -i ansible_hosts
4
12
ansible-playbook docker.yaml -i ansible_hosts
You can’t perform that action at this time.
0 commit comments