From 1da7158021b16072042d902ca40357b3ad1292dc Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Mon, 24 May 2021 14:23:05 +0100 Subject: [PATCH] linters: Mock additional variables in validate-all-file.py The linters job started failing, due to a dependency change. Change-Id: Ibab350ecf6d9551da8e9c8b704693122cec11559 --- tools/validate-all-file.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/validate-all-file.py b/tools/validate-all-file.py index 11def1f65f..0bad735d81 100755 --- a/tools/validate-all-file.py +++ b/tools/validate-all-file.py @@ -123,8 +123,11 @@ def check_json_j2(): context = { 'hostvars': hostvars(), 'groups': groups(), + 'inventory_hostname': 'hostname', + 'api_interface_address': '', + 'kolla_internal_fqdn': '', + 'octavia_provider_drivers': '', 'storage_interface': 'storage_interface', - 'inventory_hostname': 'hostname' } data = template.render(**context) json.loads(data)