Fix 'requisites were not found' issue
This commit is contained in:
@@ -51,8 +51,8 @@ postgres-reload-modules:
|
|||||||
{{ format_state( name + '-' + ext_name, 'postgres_extension', extension) }}
|
{{ format_state( name + '-' + ext_name, 'postgres_extension', extension) }}
|
||||||
- require:
|
- require:
|
||||||
- postgres_database: postgres_database-{{ name }}
|
- postgres_database: postgres_database-{{ name }}
|
||||||
{%- if 'schema' in extension %}
|
{%- if 'schema' in extension and 'schemas' in postgres %}
|
||||||
- postgres_schema: postgres_schema-{{ extension.schema }}
|
- postgres_schema: postgres_schema-{{ name }}-{{ extension.schema }}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
|
|||||||
Reference in New Issue
Block a user