hassdb: Fix playbook

* Need to apply the *postgresql-server* role to ensure PostgreSQL is
  properly configured
* Need to supply a PostgreSQL certificate (use Let's Encrypt so we don't
  have to manage a CA)
* Missing Ansible Vault file that includes the DB user password
jenkins-master
Dustin 2020-08-29 14:02:12 -05:00
parent 9ef88da95f
commit 7b49309803
4 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1 @@
../../lego/_.pyrocufflink.net.crt

View File

@ -0,0 +1 @@
../../lego/_.pyrocufflink.net.key

View File

@ -2,4 +2,5 @@
vars_files:
- vault/hassdb/{{ inventory_hostname }}
roles:
- postgresql-server
- hassdb

View File

@ -0,0 +1,8 @@
$ANSIBLE_VAULT;1.1;AES256
63336666383231336433316534373138373966393233643139393931666337316165393136663865
3935663562663662646535306233396131616639623735390a313130303439316265346639386363
64343664653736316338363738393637346361393831393431653639633732386630366664386632
6634643034303563340a616564353632363739633534363364623830376564346237303835383538
34383931336538633636653734633864343032663231613364643162333265316636393932643661
61326138656439386562646364313738323037383538336664633533643839333236353239616331
356433653030343134373834613831613439