forked from EnterpriseDB/tpa
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move repo setup for extension to separate task under repositories, add logic to determine what supported postgis version should be used to avoid hard-coding version numbers.
- Loading branch information
1 parent
b48bac5
commit 4cab7df
Showing
7 changed files
with
42 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
|
||
# © Copyright EnterpriseDB UK Limited 2015-2024 - All rights reserved. | ||
|
||
- name: Automatically run additional repository setup commands for recognized extensions | ||
command: > | ||
{% for command in item.value.repository_setup_commands[ansible_distribution] %} {{ command }} {% endfor %} | ||
loop: "{{ lookup('dict', postgres_extensions_dictionary) }}" | ||
when: > | ||
'repository_setup_commands' in item.value | ||
and | ||
(item.key in postgres_extensions | ||
or item.key in postgres_databases|json_query('[*].extensions[*].name|[]')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters