1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
{
"esr-system-info-id": "{{ esr_system_info_id }}",
"user-name": "{{ user_name }}",
"password": "{{ password }}",
"system-type": "{{ system_type }}"
{%- if system_name %}
, "system-name": "{{ system_name }}"
{%- endif %}
{%- if esr_type %}
, "type": "{{ esr_type }}"
{%- endif %}
{%- if vendor %}
, "vendor": "{{ vendor }}"
{%- endif %}
{%- if version %}
, "version": "{{ version }}"
{%- endif %}
{%- if service_url %}
, "service-url": "{{ service_url }}"
{%- endif %}
{%- if protocol %}
, "protocol": "{{ protocol }}"
{%- endif %}
{%- if ssl_cacert %}
, "ssl-cacert": "{{ ssl_cacert }}"
{%- endif %}
{%- if ssl_insecure is not none %}
, "ssl-insecure": {{ ssl_insecure | tojson }}
{%- endif %}
{%- if ip_address %}
, "ip-address": "{{ ip_address }}"
{%- endif %}
{%- if port %}
, "port": "{{ port }}"
{%- endif %}
{%- if cloud_domain %}
, "cloud-domain": "{{ cloud_domain }}"
{%- endif %}
{%- if default_tenant %}
, "default-tenant": "{{ default_tenant }}"
{%- endif %}
{%- if passive is not none %}
, "passive": {{ passive | tojson }}
{%- endif %}
{%- if remote_path %}
, "remote-path": "{{ remote_path }}"
{%- endif %}
{%- if system_status %}
, "system-status": "{{ system_status }}"
{%- endif %}
{%- if openstack_region_id %}
, "openstack-region-id": "{{ openstack_region_id }}"
{%- endif %}
}
|