diff options
| author | Mark Goddard <mark@stackhpc.com> | 2021-05-24 14:23:05 +0100 |
|---|---|---|
| committer | Mark Goddard <mark@stackhpc.com> | 2021-05-24 14:38:55 +0100 |
| commit | 1da7158021b16072042d902ca40357b3ad1292dc (patch) | |
| tree | 69149bc42cdb70ff3625afcf199530da4c8be452 /tools | |
| parent | bf1968689b8a5bc35965c1818d7b0750f20607f8 (diff) | |
| download | kolla-ansible-1da7158021b16072042d902ca40357b3ad1292dc.tar.gz kolla-ansible-1da7158021b16072042d902ca40357b3ad1292dc.zip | |
linters: Mock additional variables in validate-all-file.py
The linters job started failing, due to a dependency change.
Change-Id: Ibab350ecf6d9551da8e9c8b704693122cec11559
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/validate-all-file.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/validate-all-file.py b/tools/validate-all-file.py index 11def1f65..0bad735d8 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) |
