Start initializing gulagbot

This commit is contained in:
Salt 2021-04-02 16:31:48 -05:00
parent 055a6bd602
commit 80c67ac679
2 changed files with 11 additions and 0 deletions

View File

@ -1,6 +1,13 @@
# vim:ft=ansible:
# DB secrets
secret_gulagbot_local_db_pass: !vault |
$ANSIBLE_VAULT;1.1;AES256
30623364333066613265343462633566663866643264303532343561326461383565326565333230
6263663530656438306165636438613037333563646432610a323830383034313639653661353266
66656339653239383562356230383566393135363261356365626166333863653961366532393661
6132366438346531650a383463396339366330393930633066663039336433313731663337383234
36623133613438666633626262633230643862636366393135303163323661303537
secret_grafana_local_db_pass: !vault |
$ANSIBLE_VAULT;1.1;AES256
32326333383035393665316566363266623130313435353165613463336663393634353261623738

View File

@ -52,11 +52,15 @@
# Allow hosts over zerotier
- { type: host, database: all, user: all, address: '172.23.0.0/16', auth_method: md5 }
postgresql_users:
- name: gulagbot
password: "{{ secret_gulagbot_local_db_pass }}"
- name: grafana
password: "{{ secret_grafana_local_db_pass }}"
- name: netbox
password: "{{ secret_netbox_local_db_pass }}"
postgresql_databases:
- name: gulagbot
owner: gulagbot
- name: grafana
owner: grafana
- name: netbox