Skip to content

Commit

Permalink
Add default inventory file
Browse files Browse the repository at this point in the history
Signed-off-by: Dylan Schultz <[email protected]>
  • Loading branch information
dylanschultzie committed Sep 4, 2022
1 parent efc8492 commit 1a00272
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
inventory.yml
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ $cp priv_validator_key.json keys/
This step will create the horcrux user, install the latest version of horcrux, and setup an an initial config based on your inventory file.

```
ansible-playbook -i inventory.yml horcrux.yml -e "target=horcrux_cluster"
ansible-playbook horcrux.yml -e "target=horcrux_cluster"
```

If all goes well you should have your horcrux cluster all setup but not running yet.
Expand All @@ -150,7 +150,7 @@ Next we will will update the following files on each signer node and restart the

Example run:
```
ansible-playbook -i inventory.yml horcrux_state.yml -e "target=horcrux_cluster block_height=361402 block_round=0 block_step=3 "
ansible-playbook horcrux_state.yml -e "target=horcrux_cluster block_height=361402 block_round=0 block_step=3 "
```

### Restart your full nodes
Expand Down
2 changes: 2 additions & 0 deletions ansible.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[defaults]
inventory=inventory.yml

0 comments on commit 1a00272

Please sign in to comment.