Unverified Commit 1d09b601 authored by epcjr's avatar epcjr Committed by GitHub
Browse files

Update README.md

parent a45a4403
......@@ -4,29 +4,40 @@ playbook for perfSONAR deployment and config
Clone this repository:
git clone https://github.com/perfsonar/ansible-playbook-perfsonar.git
cd ansible-playbook-perfsonar
```
git clone https://github.com/perfsonar/ansible-playbook-perfsonar.git
cd ansible-playbook-perfsonar
```
Get the required roles (note that we ignore errors so we can run this multiple times):
ansible-galaxy install -r requirements.yml --ignore-errors
```
ansible-galaxy install -r requirements.yml --ignore-errors
```
Set up your inventory. Connection variables can be added here as well.
vi inventory/hosts
```
vi inventory/hosts
```
Set up perfSONAR variables by running the defaults.sh script and then editing them:
./defaults.sh
vi inventory/group_vars/all/*
```
./defaults.sh
vi inventory/group_vars/all/*
```
Set up individual host variables with the lsregistration.yml template
cp inventory/lsregistration.yml inventory/host_vars/myhostname.yml
vi inventory/host_vars/myhostname.yml
```
cp inventory/lsregistration.yml inventory/host_vars/myhostname.yml
vi inventory/host_vars/myhostname.yml
```
Run the playbook:
ansible-playbook perfsonar.yml
```
ansible-playbook perfsonar.yml
```
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment