update: migrate inline defaults to defaults/main.yaml #13

Open
opened 2026-07-12 14:05:09 -07:00 by jdelpilar · 0 comments
Owner

Summary

Currently defaults for certain variables are handled either in the tasks themselves or in the templates in roles.
These should migrated to the standard defaults/main.yaml file for all roles that has defaults

Context

This will bring the repo more in line with proper Ansible patterns. Also makes documentation and updates to defaults easier in the future

Proposed Changes

  • Identify all defaults used across the repo
  • create defaults/main.yaml for all roles that have default values in either tasks or templates
  • migrate default values to defaults/main.yaml for all default values

Verification Plan

  • Check all tasks for any default values used
  • Check all templates for any default values used
  • Ensure documented default values match reality
### Summary Currently defaults for certain variables are handled either in the tasks themselves or in the templates in roles. These should migrated to the standard defaults/main.yaml file for all roles that has defaults ### Context This will bring the repo more in line with proper Ansible patterns. Also makes documentation and updates to defaults easier in the future ### Proposed Changes - [ ] Identify all defaults used across the repo - [ ] create defaults/main.yaml for all roles that have default values in either tasks or templates - [ ] migrate default values to defaults/main.yaml for all default values ### Verification Plan - [ ] Check all tasks for any default values used - [ ] Check all templates for any default values used - [ ] Ensure documented default values match reality
jdelpilar added the enhancement label 2026-07-12 14:05:09 -07:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jdelpilar/johto-infra#13