Inventory group/host variables: Sort yaml

This was done using yq (
https://mikefarah.gitbook.io/yq/operators/sort-keys )

Doing things this way makes it much easier to see if a variable is set
in a file or if two hosts differ in what variables they set. Hopefully
we can keep things sorted moving forward.

Basically this means just sort a-z anything you add to any host or group
vaiable and it will be in the right place.

Additionally, this enforces 'normal' intent rules for all the variable
files which we should also try and obey. 2 spaces for first level, 3 for
next, etc. When in doubt you can run yq on it.

This should cause NO actual vairable changes, it's all just readability
fixing for humans, ansible parses it exactly the same.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2021-11-16 13:27:57 -08:00
parent f6f29ded92
commit 580cd252c5
769 changed files with 12115 additions and 15787 deletions

View file

@ -1,60 +1,55 @@
ipa_client_shell_groups:
- sysadmin-noc
- sysadmin-odcs
- sysadmin-releng
- sysadmin-veteran
ipa_client_sudo_groups:
- sysadmin-odcs
- sysadmin-releng
ipa_host_group: odcs
ipa_host_group_desc: On Demand Compose Service
ipa_client_shell_groups:
- sysadmin-noc
- sysadmin-odcs
- sysadmin-releng
- sysadmin-veteran
ipa_client_sudo_groups:
- sysadmin-odcs
- sysadmin-releng
# Configs executed on releng backends must have "releng_" prefix.
odcs_raw_config_urls:
releng_fmc:
url: https://pagure.io/releng/fmc.git
config_filename: fedora-minimal-compose.conf
releng_jkaluza_test_config:
url: https://pagure.io/jkaluza-test-compose.git
config_filename: test.conf
eln:
url: https://pagure.io/pungi-fedora.git
config_filename: eln.conf
cccc:
url: https://pagure.io/fedora-ci/cccc-merged-configs.git
config_filename: cccc.conf
# Default queues for general ODCS backends.
odcs_celery_queues:
- pungi_composes
- cleanup
odcs_celery_router_config:
routing_rules:
odcs.server.celery_tasks.generate_pungi_compose:
releng_raw_pungi_composes:
source_type: 5 # "raw_config"
source: "releng_.*"
eln_raw_pungi_composes:
source_type: 5 # "raw_config"
source: "eln.*"
cccc_raw_pungi_composes:
source_type: 5 # "raw_config"
source: "cccc.*"
releng_pungi_composes:
source_type: [1, 2, 6, 7] # "tag", "module", "build", "pungi_compose"
owner: ["jkaluza", "mohanboddu", "humaton"]
cleanup_task: odcs.server.celery_tasks.run_cleanup
default_queue: pungi_composes
odcs_allowed_clients_groups:
eln-sig: {"raw_config_keys": ["eln", "cccc"], "source_types": ["tag", "module", "build", "raw_config"]}
packager: {"source_types": ["module"]}
pungi-devel: {}
sysadmin-odcs: {}
odcs_allowed_clients_users:
humaton: {"source_types": ["tag", "module", "build", "raw_config"], "target_dirs": ["private"]}
mohanboddu: {"source_types": ["tag", "module", "build", "raw_config"], "target_dirs": ["private"]}
jkaluza: {"source_types": ["tag", "module", "build", "raw_config"], "target_dirs": ["private"]}
mohanboddu: {"source_types": ["tag", "module", "build", "raw_config"], "target_dirs": ["private"]}
osbs@service: {}
odcs_allowed_clients_groups:
sysadmin-odcs: {}
pungi-devel: {}
packager: {"source_types": ["module"]}
eln-sig: {"source_types": ["tag", "module", "build", "raw_config"], "raw_config_keys": ["eln", "cccc"]}
# Default queues for general ODCS backends.
odcs_celery_queues:
- pungi_composes
- cleanup
odcs_celery_router_config:
cleanup_task: odcs.server.celery_tasks.run_cleanup
default_queue: pungi_composes
routing_rules:
odcs.server.celery_tasks.generate_pungi_compose:
cccc_raw_pungi_composes:
source: "cccc.*"
source_type: 5 # "raw_config"
eln_raw_pungi_composes:
source: "eln.*"
source_type: 5 # "raw_config"
releng_pungi_composes:
owner: ["jkaluza", "mohanboddu", "humaton"]
source_type: [1, 2, 6, 7] # "tag", "module", "build", "pungi_compose"
releng_raw_pungi_composes:
source: "releng_.*"
source_type: 5 # "raw_config"
# Configs executed on releng backends must have "releng_" prefix.
odcs_raw_config_urls:
cccc:
config_filename: cccc.conf
url: https://pagure.io/fedora-ci/cccc-merged-configs.git
eln:
config_filename: eln.conf
url: https://pagure.io/pungi-fedora.git
releng_fmc:
config_filename: fedora-minimal-compose.conf
url: https://pagure.io/releng/fmc.git
releng_jkaluza_test_config:
config_filename: test.conf
url: https://pagure.io/jkaluza-test-compose.git