From 26c45ff080520ec5e03e87977fc7767859cbce63 Mon Sep 17 00:00:00 2001 From: Salt Date: Sun, 2 May 2021 15:25:14 -0500 Subject: [PATCH] Add Firefly DB to Pi cluster --- inventory/group_vars/pis.yml | 7 +++++++ playbooks/pimp.yml | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/inventory/group_vars/pis.yml b/inventory/group_vars/pis.yml index c674f86..beb4e95 100644 --- a/inventory/group_vars/pis.yml +++ b/inventory/group_vars/pis.yml @@ -30,4 +30,11 @@ secret_keepalived_pass: !vault | 64613934346234316564613564363863356663653063333432316434353633333138643561316638 6563386233656364310a626363663234623161363537323035663663383333353138386239623934 65613231666661633262633439393462316337393532623263363630353133373236 +secret_firefly_db_pass: !vault | + $ANSIBLE_VAULT;1.1;AES256 + 31656262333131613762373430323032663634316133346661333762323631323931633633623666 + 6665373939396238383965653635653039336635313361350a333133303239323262383938303436 + 64396137343737346362646330323662333731376332306663336638333161313835626261343031 + 3165643531336534650a393237623435663566346332313838616137343831643030333230356230 + 65386234316565666465376538333661623938326234323136303764376239326135 diff --git a/playbooks/pimp.yml b/playbooks/pimp.yml index 732424f..0691267 100755 --- a/playbooks/pimp.yml +++ b/playbooks/pimp.yml @@ -63,6 +63,8 @@ password: "{{ secret_grafana_local_db_pass }}" - name: netbox password: "{{ secret_netbox_local_db_pass }}" + - name: firefly + password: "{{ secret_firefly_db_pass }}" postgresql_databases: - name: gulagbot owner: gulagbot @@ -70,6 +72,8 @@ owner: grafana - name: netbox owner: netbox + - name: firefly + owner: firefly tags: [ pis, storage, psql ] - role: nfs vars: