Skip to content

Repository Restructuring

Repository Restructuring

The goal is to make the structure a bit more consistent and intuitive.

  • move stage2 and stage3 plays into dedicated directory
    • !424 (merged)
    • so that they follow the style of the KMS and KSL
    • includes making the naming scheme consistent
  • ansible/ : give this directory a real (and non-misleading) meaning
    • should contain only Ansible-specific configurations/stuff
      • talking about the config and requirements files
    • ansible config is currently not available to KMS and KSL
      • reference ansible.cfg in lib.sh (also having !412 (merged) in mind)
  • Remove unused stuff
    • !423 (merged)
    • prevent thoughts like "what is this used for" from popping up
  • The variables in ansible/group_vars/all
    • These variables are available to stage2 and stage3, but not for upper layers. This e.g. leads to the problem that the default known hosts file (~/.ssh/known_hosts) instead of the one from the etc_dir is used in stage4 and stage5.
    • Furthermore, it is somehow confusing that these variables are not part of the inventory/. I guess most developers are not even aware of this file.
    • I would like to move them partly to the config/config.toml (at least the k8s related ones (rel !322 (closed))) and partly to a template so that the update_inventory.py script can move them to the stage inventories in inventory/.
Edited by Steve Starke
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information