Add Grafana DB and stuff
This commit is contained in:
parent
4e6e287b19
commit
759e8609dc
@ -3,6 +3,7 @@
|
|||||||
---
|
---
|
||||||
# k8s
|
# k8s
|
||||||
- hosts: pik8s
|
- hosts: pik8s
|
||||||
|
gather_facts: no
|
||||||
roles:
|
roles:
|
||||||
- role: k8s
|
- role: k8s
|
||||||
tags: [ k8s, skip-pull ]
|
tags: [ k8s, skip-pull ]
|
||||||
@ -13,6 +14,7 @@
|
|||||||
- kubelet
|
- kubelet
|
||||||
tags: [ k8s, motd ]
|
tags: [ k8s, motd ]
|
||||||
- hosts: pik8s_masters
|
- hosts: pik8s_masters
|
||||||
|
gather_facts: no
|
||||||
tasks:
|
tasks:
|
||||||
- name: install openshift
|
- name: install openshift
|
||||||
pip: name=openshift state=latest
|
pip: name=openshift state=latest
|
||||||
|
@ -32,6 +32,12 @@
|
|||||||
- { type: host, database: all, user: all, address: '::1/128', auth_method: md5 }
|
- { type: host, database: all, user: all, address: '::1/128', auth_method: md5 }
|
||||||
# Used for internal access from other nodes
|
# Used for internal access from other nodes
|
||||||
- { type: host, database: all, user: all, address: '192.168.0.0/16', auth_method: md5 }
|
- { 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 ]
|
tags: [ pis, storage, psql ]
|
||||||
- role: nfs
|
- role: nfs
|
||||||
vars:
|
vars:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user