2016-01-25 11:11:50 +00:00
|
|
|
All links:
|
|
|
|
{% for link in links.all %}
|
|
|
|
- {{link.uri}}
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
All links 1:
|
|
|
|
{% for link in links.test1 %}
|
|
|
|
- {{link.uri}}
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
|
|
|
|
Links 2 800:
|
|
|
|
- {{links.test2_800.uri}}
|
|
|
|
|
|
|
|
All links 2:
|
|
|
|
{% for link in links.test2 %}
|
|
|
|
- {{link.uri}}
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
All environ:
|
|
|
|
{% for link in links.all %}
|
2016-02-21 21:11:37 +00:00
|
|
|
{% for key in link.environ %}
|
|
|
|
{{key}}: {{link.environ[key]}}
|
2016-01-25 11:11:50 +00:00
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
All links 2 environ:
|
|
|
|
{% for link in links.test2 %}
|
2016-02-21 21:11:37 +00:00
|
|
|
{% for key in link.environ %}
|
|
|
|
{{key}}: {{link.environ[key]}}
|
2016-01-25 11:11:50 +00:00
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
All names:
|
|
|
|
{% for container in containers %}
|
|
|
|
{% for name in container.names %}
|
|
|
|
- {{name}}
|
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
2016-03-07 23:12:13 +00:00
|
|
|
|
|
|
|
ID:
|
|
|
|
{% for container in containers %}
|
|
|
|
- {{container.id}}
|
|
|
|
{% endfor %}
|
2016-03-21 18:29:21 +00:00
|
|
|
|
|
|
|
ENV:
|
|
|
|
{% for e in env %}
|
2016-11-30 07:53:54 +00:00
|
|
|
'{{e}}': '{{env[e]}}'
|
2016-03-21 18:29:21 +00:00
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
ENVIRON:
|
|
|
|
{% for e in environ %}
|
2016-11-30 07:53:54 +00:00
|
|
|
'{{e}}': '{{env[e]}}'
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
JSON:
|
|
|
|
{% for key, val in json.loads(env['JSON']).items() %}
|
|
|
|
'{{key}}': '{{val}}'
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
YAML:
|
|
|
|
{% for key, val in yaml.load(env['YAML']).items() %}
|
|
|
|
'{{key}}': '{{val}}'
|
2016-03-21 18:29:21 +00:00
|
|
|
{% endfor %}
|
2020-05-24 16:19:11 +00:00
|
|
|
|
|
|
|
ENVTOBOOL:
|
|
|
|
ok: {{ envtobool('OK', False) }}
|
|
|
|
ko: {{ envtobool('KO', True) }}
|