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
inlib.sh
(also having !412 (merged) in mind)
- reference
- should contain only Ansible-specific configurations/stuff
- 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 theetc_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 theupdate_inventory.py
script can move them to the stage inventories ininventory/
.
- 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 (
Edited by Steve Starke