updated docker state

This commit is contained in:
Paul 2021-10-30 18:37:52 +02:00
parent 47549c25ee
commit a3361646f2
3 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,12 @@
---
{%- 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 -%}

View File

@ -7,7 +7,10 @@ docker:
- docker-ce - docker-ce
- docker-ce-cli - docker-ce-cli
pip_pkgs: pip_pkgs:
- docker
- docker-compose - docker-compose
daemon: daemon:
config: config:
storage-driver: overlay2 storage-driver: overlay2
iptables: true
containers: {}

View File

@ -1,5 +1,7 @@
--- ---
include: include:
- repos
- .install - .install
- .config - .config
- .service - .service
- .containers