Add Grafana DB and stuff

This commit is contained in:
Salt 2021-02-28 21:18:00 -06:00
parent 4e6e287b19
commit 759e8609dc
2 changed files with 8 additions and 0 deletions

View File

@ -3,6 +3,7 @@
---
# k8s
- hosts: pik8s
gather_facts: no
roles:
- role: k8s
tags: [ k8s, skip-pull ]
@ -13,6 +14,7 @@
- kubelet
tags: [ k8s, motd ]
- hosts: pik8s_masters
gather_facts: no
tasks:
- name: install openshift
pip: name=openshift state=latest

View File

@ -32,6 +32,12 @@
- { type: host, database: all, user: all, address: '::1/128', auth_method: md5 }
# Used for internal access from other nodes
- { type: host, database: all, user: all, address: '192.168.0.0/16', auth_method: md5 }
postgresql_users:
- name: grafana
password: "{{ secret_grafana_local_db_pass }}"
postgresql_databases:
- name: grafana
owner: grafana
tags: [ pis, storage, psql ]
- role: nfs
vars: