-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: make instructions for Ansible consistent here and there
1 parent
f909777
commit 508fc0d
Showing
2 changed files
with
19 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,28 @@ | ||
# Ansible playbook to automatically configure environment for Acto to run a baremetal machine | ||
# Ansible playbook to automatically configure environment for Acto to run on a baremetal machine | ||
|
||
To run the script, you first need an `ansible_hosts` file. Each line in the file should contain | ||
a worker in your cluster. See https://docs.ansible.com/ansible/latest/user_guide/intro_inventory.html | ||
for details. | ||
|
||
An example: | ||
|
||
```ini | ||
c220g5-110417.wisc.cloudlab.us ansible_connection=ssh ansible_user=tylergu ansible_port=22 | ||
c220g5-110418.wisc.cloudlab.us ansible_connection=ssh ansible_user=tylergu ansible_port=22 | ||
``` | ||
|
||
If you haven't installed `ansible playbook` on your control node, run | ||
If you haven't installed `ansible-playbook` on your control node, run | ||
|
||
```sh | ||
pip3 install ansible | ||
ansible-galaxy collection install ansible.posix | ||
ansible-galaxy collection install community.general | ||
``` | ||
|
||
Then just run | ||
``` | ||
bash configure.sh | ||
|
||
Then just run | ||
|
||
```sh | ||
ansible-playbook -i ansible_hosts configure.yaml | ||
``` | ||
|
||
and the proper environment will be setup on the workers. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters