2016-03-26 17:06:06 +01:00
|
|
|
---
|
|
|
|
- name: Add postgres extensions to the databases, if needed
|
|
|
|
become: True
|
|
|
|
become_user: postgres
|
2017-04-14 18:25:43 +02:00
|
|
|
postgresql_ext: name={{ item.1 | default(omit) }} db={{ item.0.name }} port={{ psql_db_port }}
|
2016-03-26 17:06:06 +01:00
|
|
|
with_subelements:
|
|
|
|
- '{{ psql_db_data | default([]) }}'
|
|
|
|
- extensions
|
2016-10-28 15:36:24 +02:00
|
|
|
ignore_errors: True
|
2017-04-05 19:02:06 +02:00
|
|
|
tags: [ 'postgresql', 'postgres', 'pg_extensions', 'pg_db' ]
|
2016-03-26 17:06:06 +01:00
|
|
|
|