forked from UtrechtUniversity/yoda
-
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.
YDA-5882 fix ordering Yoda DB indexes
Deploying a new environment with Yoda-specific database indexes enabled failed, because the playbook tried to create the indexes before iRODS created the tables that were to be indexed. This fix moves the code for enabling or disabling the Yoda-specific indexes to a separate role that is always run after both the database and the provider have been deployed, so that this doesn't happen anymore.
- Loading branch information
Showing
6 changed files
with
33 additions
and
5 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,5 @@ | ||
--- | ||
# copyright Utrecht University | ||
|
||
irods_database_name: ICAT | ||
irods_database_enable_yoda_indexes: false |
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,19 @@ | ||
--- | ||
# copyright Utrecht University | ||
|
||
galaxy_info: | ||
author: Sietse Snel | ||
description: Install Yoda-specific database indexes | ||
license: GPLv3 | ||
min_ansible_version: '2.11' | ||
platforms: | ||
- name: EL | ||
version: | ||
- 7 | ||
- 8 | ||
- name: Ubuntu | ||
version: focal | ||
|
||
|
||
dependencies: | ||
- role: postgresql |
File renamed without changes.