Skip to content

Commit

Permalink
updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
HariSekhon committed Oct 9, 2024
1 parent 446412b commit 7b07a4b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,21 +73,21 @@ the [HariSekhon/Knowledge-Base](https://github.com/HariSekhon/Knowledge-Base) re
## Ansible Playbooks

Quickly install to a given host using `-i <hostname>,` with the trailing comma
to let Ansible know it is an inline host list not an [ansible-inventory.txt](ansible-inventory.txt) file.
to let Ansible know it is an inline host list not an [ansible-inventory.ini](ansible-inventory.ini) file.

### Check Diff, Then Run

Find a playbook you want, then run a dry run `--check --diff` to see what it would do,
check your SSH config is set up with the right AWS pem keys etc:

```shell
ansible-playbook -i inventory.txt path/to/playbook.yml --check --diff
ansible-playbook -i inventory.ini path/to/playbook.yml --check --diff
```

If it look ok, then run it:

```shell
ansible-playbook -i inventory.txt path/to/playbook.yml --check --diff
ansible-playbook -i inventory.ini path/to/playbook.yml --check --diff
```

### Install Prometheus
Expand Down

0 comments on commit 7b07a4b

Please sign in to comment.