Page MenuHomeDevCentral

networks.sls
No OneTemporary

networks.sls

# -------------------------------------------------------------
# Salt — Provision Docker engine
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Created: 2018-09-11
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
{% set networks = salt['pillar.get']("docker_networks:" + grains['id'], {}) %}
# -------------------------------------------------------------
# Bridge networks
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{% for network, args in networks.items() %}
docker_network_{{ network }}:
docker_network.present:
- name: {{ network }}
- driver: bridge
- subnet: {{ args['subnet'] }}
{% endfor %}

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 26, 03:21 (19 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2313402
Default Alt Text
networks.sls (787 B)

Event Timeline