enable postgres service

This commit is contained in:
flynn 2019-01-21 23:35:47 +01:00
parent e382ad7f38
commit 6c919a688f

View file

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