linters: Mock additional variables in validate-all-file.py
The linters job started failing, due to a dependency change. Change-Id: Ibab350ecf6d9551da8e9c8b704693122cec11559
This commit is contained in:
parent
bf1968689b
commit
1da7158021
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user