Add psql role

That was actually really easy
Love the default ident mode
This commit is contained in:
Salt 2020-07-28 08:38:21 -05:00
parent b506fb91ab
commit 9488b4541e
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,2 @@
---
allow_duplicates: no

View File

@ -0,0 +1,17 @@
#!/usr/bin/ansible-playbook
# vim:ft=ansible:
---
- name: Set up PostgreSQL
block:
- name: Install PostgreSQL
apt:
name:
- postgresql
- libpq-dev
- python3-psycopg2
- name: Start PostgreSQL
systemd:
name: postgresql
enabled: yes
state: started
become: yes