12 lines
260 B
Plaintext
12 lines
260 B
Plaintext
|
---
|
||
|
{%- from "docker/map.jinja" import docker with context %}
|
||
|
{% for k,v in docker.containers.items() -%}
|
||
|
docker-container-{{ k }}:
|
||
|
docker_container.running:
|
||
|
- name: {{ k }}
|
||
|
{%- for i,j in v.items() %}
|
||
|
- {{ i }}: {{ j }}
|
||
|
|
||
|
{% endfor -%}
|
||
|
|
||
|
{% endfor -%}
|