enable postgres service
This commit is contained in:
parent
e382ad7f38
commit
6c919a688f
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue