Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Add default variables #13

Merged
merged 16 commits into from
Dec 22, 2023
Merged

Add default variables #13

merged 16 commits into from
Dec 22, 2023

Conversation

p-j-smith
Copy link
Contributor

@p-j-smith p-j-smith commented Dec 22, 2023

Fixes #12

  • add some defaults to mirsr.infrastructure.xnat that currently need to be defined as group vars. These defaults use flat naming rather than nested, and are prefixed with the role name
  • remove server_locale from test inventory group vars as it is the same as the default in mirsg.infrastructure.provision
  • set defaults for the java_mem variable
  • add ansible_cache_dir as a playbook group var so we don't need to define it at the inventory level
  • there are other variables that could be made defaults in a separate PR but they are less straightforward for a couple of reasons:
    • they are used in multiple roles
    • they are used in the mirsg.infrastructure collection (and so should be defined as defaults in the relevant roles there)

@p-j-smith p-j-smith self-assigned this Dec 22, 2023
@p-j-smith p-j-smith requested a review from a team December 22, 2023 12:31
Copy link
Contributor

@drmatthews drmatthews left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Is this a good opportunity to renovate the plugin versions?

@p-j-smith
Copy link
Contributor Author

Is this a good opportunity to renovate the plugin versions?

Yeah good idea - I'll do it in a separate PR

@p-j-smith p-j-smith merged commit 6b9ec3b into main Dec 22, 2023
3 checks passed
@p-j-smith p-j-smith deleted the feat/add-deafults branch December 22, 2023 12:57
@paddyroddy
Copy link
Member

Looks good. Is this a good opportunity to renovate the plugin versions?

I had had this same thought

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

✏️ [TASK]: Add defaults for xnat role
3 participants