start pg before we create db
This commit is contained in:
parent
4d303d0875
commit
0c622ca464
1 changed files with 3 additions and 3 deletions
|
@ -40,11 +40,11 @@
|
|||
tags:
|
||||
- config
|
||||
|
||||
- name: enable Pg service
|
||||
service: state=running enabled=yes name=postgresql
|
||||
|
||||
- name: Create db
|
||||
postgresql_db: name="coprdb" encoding='UTF-8'
|
||||
|
||||
- name: Create db user
|
||||
postgresql_user: db="coprdb" name="copr-fe" password="{{ copr_database_password }}" role_attr_flags=SUPERUSER,NOCREATEDB,NOCREATEROLE
|
||||
|
||||
- name: enable Pg service
|
||||
service: state=running enabled=yes name=postgresql
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue