Skip to content

clean vars usage accross roles

Ghost User requested to merge feature/clean_params into master

This MR is about the cleaning of roles variables.

Here is what I have done:

  • I prefixed all (or nearly) roles variables with the role name
  • I replaced all inventory_hostname in roles with a <role>_appname var and I mapped it in the playbook (for example: https://git.startinblox.com/infra/platform/blob/feature/clean_params/play.yml#L45)
  • I moved astral_accounts common parameters in group_vars/astral_accounts/params.yml
  • I moved all vars defined for our specific needs on alwaysdata in roles/alwaysdata/defaults/main.yml

Closing #74 (closed)

Edited by Ghost User

Merge request reports