Skip to content
Snippets Groups Projects
Commit 8fcb18d0 authored by Hervé  MENAGER's avatar Hervé MENAGER
Browse files

ansible postgresql wip

run create db as postgres

Former-commit-id: bdb4628a6a36d6b95666a7be22b4d85004cbffca
parent 2b9961c6
No related branches found
No related tags found
No related merge requests found
......@@ -78,6 +78,7 @@
- name: restart postgresql service
systemd: state=restarted name=postgresql enabled=yes
- name: create db in postgresql
become_user: "postgres"
postgresql_db:
name: "{{ dbname }}"
owner: "{{ dbuser }}"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment