-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from juwi/install-prometheus
feat: Add install prometheus and grafana playbook
- Loading branch information
Showing
4 changed files
with
54 additions
and
1 deletion.
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,8 +1,25 @@ | ||
## Requirements | ||
|
||
### General | ||
- ansible (prefer newer ansible versions which are python 3 compatible) | ||
|
||
### Prometheus | ||
- jmespath (deployer host) | ||
- unzip (target host) | ||
|
||
### Grafana | ||
- jmespath (deployer host) | ||
|
||
## Deployment Instructions | ||
|
||
### Grafana | ||
- `ansible-galaxy install cloudalchemy.grafana` | ||
- `ansible-playbook -i environments/production/inventory.yml playbooks/install_grafana.yml` | ||
|
||
### Prometheus | ||
- `ansible-galaxy install cloudalchemy.prometheus` | ||
- `ansible-playbook -i environments/production/inventory.yml playbooks/install_prometheus.yml` | ||
|
||
### Signal tower | ||
- Copy `ansible.cfg.example` to `ansible.cfg` | ||
- `ansible-playbook -i environments/production/inventory.yml playbooks/install_signaltower.yml` |
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
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
|
||
- hosts: all | ||
strategy: debug | ||
remote_user: root | ||
become: yes | ||
roles: | ||
- cloudalchemy.grafana |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
|
||
- hosts: all | ||
strategy: debug | ||
remote_user: root | ||
become: yes | ||
roles: | ||
- cloudalchemy.prometheus |