Skip to content

Commit

Permalink
ruleset: extract parameter for main ruleset ver.
Browse files Browse the repository at this point in the history
Extract parameter for main Yoda ruleset version, so that we
can change the main ruleset version of an environment without
having to copy the complete core_rulesets configuration.
  • Loading branch information
stsnel committed Aug 7, 2023
1 parent 5bebe24 commit 70db625
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/administration/configuring-yoda.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ Variable | Description
-----------------------------|---------------------------------------------
instance | Name of Yoda instance, as defined in hosts file
yoda_version | Yoda version. Use a git branch (e.g. release-1.8) or a tag (e.g. v1.8.5)
yoda_ruleset_version | Version of the main Yoda ruleset to use. Defaults to the value of `yoda_version`.
yoda_environment | Yoda environment: development, testing, acceptance or production
yoda_portal_fqdn | Yoda Portal fully qualified domain name (FQDN)
yoda_davrods_fqdn | Yoda Davrods WebDAV fully qualified domain name (FQDN)
Expand Down
3 changes: 2 additions & 1 deletion roles/yoda_rulesets/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ irods_service_account: irods
credentials_store: /var/lib/irods/.credentials_store

# Ruleset configuration.
yoda_ruleset_version: "{{ yoda_version }}"
core_rulesets:
- name: yoda-ruleset
repo: https://github.com/UtrechtUniversity/yoda-ruleset.git
ruleset_name: rules-uu
version: "{{ yoda_version }}"
version: "{{ yoda_ruleset_version }}"
install_scripts: true
- name: core
ruleset_name: core
Expand Down

0 comments on commit 70db625

Please sign in to comment.