add demo data base to molecule
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
dbca4b387b
commit
b7a511599f
@ -3,6 +3,8 @@
|
||||
hosts: all
|
||||
vars:
|
||||
postgres_repository_enabled: True
|
||||
postgres_db:
|
||||
- name: demo
|
||||
|
||||
roles:
|
||||
- role: xoxys.postgres
|
||||
|
@ -2,7 +2,7 @@
|
||||
- name: Force all notified handlers to activate pg_hba.conf
|
||||
meta: flush_handlers
|
||||
|
||||
- name: Ensure postgres databases exist
|
||||
- name: Ensure postgres databases are present
|
||||
postgresql_db:
|
||||
name: "{{ item.name }}"
|
||||
lc_collate: "{{ item.lc_collate | default('en_US.UTF-8') }}"
|
||||
@ -16,7 +16,7 @@
|
||||
port: "{{ item.port | default(omit) }}"
|
||||
owner: "{{ item.owner | default(omit) }}"
|
||||
state: "{{ item.state | default('present') }}"
|
||||
no_log: True
|
||||
#no_log: True
|
||||
loop: "{{ postgres_db + postgres_db_extra }}"
|
||||
become: True
|
||||
become_user: "{{ postgres_user }}"
|
||||
|
Loading…
Reference in New Issue
Block a user