enable postgres service

This commit is contained in:
flynn 2019-01-21 23:35:47 +01:00
parent e382ad7f38
commit 6c919a688f
1 changed files with 8 additions and 0 deletions

View File

@ -23,6 +23,14 @@
- python-psycopg2
- postgresql-9.6
- name: Enable postgres
become: yes
become_user: root
systemd:
enabled: yes
state: started
name: postgresql
- name: Create database
become: yes
become_user: postgres