fix: Python boolean case for Jinja2 rendered values
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
api_base = "https://{{ api_host }}:{{ api_port }}/api2/json"
|
||||
headers = {"Authorization": "PVEAPIToken={{ api_token_id }}={{ api_token_secret }}"}
|
||||
node = "{{ current_node }}"
|
||||
shared = {{ shared_storage | lower }}
|
||||
shared = {{ shared_storage | lower | replace("true", "True") | replace("false", "False") }}
|
||||
exclude_tags = {{ migrate_exclude_tags | to_json }}
|
||||
|
||||
def api_get(path):
|
||||
|
||||
Reference in New Issue
Block a user