Add netbox DB

This commit is contained in:
Salt 2021-03-10 13:29:59 -06:00
parent 8fcffe650b
commit 4b52155164
2 changed files with 12 additions and 0 deletions

View File

@ -9,3 +9,11 @@ secret_grafana_local_db_pass: !vault |
6432613734616361380a346138396335366638323266613963623731633437653964326465373538
63613762633635613232303565383032313164393935303531356666303965663463366335376137
6135376566336662313734333235633362386132333064303534
secret_netbox_local_db_pass: !vault |
$ANSIBLE_VAULT;1.1;AES256
33333232623431393930626435313138643963663731336530663066633563666439383936316538
6337376232613937303635386235346561326134616265300a326266373834303137623439366438
33616365353663633434653463643964613231343335326234343331396137363439666138376332
3564356231336230630a336639656337353538633931623536303430363836386137646563613338
66326661313064306162363265303636333765383736336231346136383763613131

View File

@ -48,9 +48,13 @@
postgresql_users:
- name: grafana
password: "{{ secret_grafana_local_db_pass }}"
- name: netbox
password: "{{ secret_netbox_local_db_pass }}"
postgresql_databases:
- name: grafana
owner: grafana
- name: netbox
owner: netbox
tags: [ pis, storage, psql ]
- role: nfs
vars: