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
This commit is contained in:
Monty Taylor 2020-05-16 07:43:29 -05:00
parent 8a928ef70d
commit 6ab290839b
2 changed files with 4 additions and 4 deletions

View File

@ -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):