From 6ab290839b8f772890a4f1ef59053936e47fc6d9 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Sat, 16 May 2020 07:43:29 -0500 Subject: [PATCH] Rename routing.yml to runtime.yml The collection routing implementation for 2.10: https://github.com/ansible/ansible/pull/67684 just update the filename to be meta/runtime.yml. Change-Id: I858f53e66bef2c40fb7ec2821d412bd966417106 --- meta/{routing.yml => runtime.yml} | 0 tools/groups-to-routing.py | 8 ++++---- 2 files changed, 4 insertions(+), 4 deletions(-) rename meta/{routing.yml => runtime.yml} (100%) diff --git a/meta/routing.yml b/meta/runtime.yml similarity index 100% rename from meta/routing.yml rename to meta/runtime.yml diff --git a/tools/groups-to-routing.py b/tools/groups-to-routing.py index 3b517136..7a09e428 100644 --- a/tools/groups-to-routing.py +++ b/tools/groups-to-routing.py @@ -34,7 +34,7 @@ overrides = dict( old_list = [] new_list = [] -module_routing = dict() +module_runtime = dict() mapping = dict() os.system('git checkout HEAD^1 meta/action_groups.yml plugins ci') groups = yaml.safe_load(open('meta/action_groups.yml', 'r')) @@ -44,7 +44,7 @@ for module in list(overrides.keys()) + groups['os']: new_name = overrides.get(module, module.replace('os_', '')) new_list.append(new_name) mapping[module] = new_name - module_routing[module] = dict( + module_runtime[module] = dict( deprecation=dict( removal_date='TBD', warning_text=( @@ -60,9 +60,9 @@ groups['openstack'] = sorted(new_list) yaml.dump(groups, open('meta/action_groups.yml', 'w')) -routing = dict(plugin_routing=dict(modules=module_routing)) +runtime = dict(plugin_runtime=dict(modules=module_runtime)) -yaml.dump(routing, open('meta/routing.yml', 'w')) +yaml.dump(runtime, open('meta/runtime.yml', 'w')) def replace_content(content):