Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3938580
networks.sls
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
787 B
Referenced Files
None
Subscribers
None
networks.sls
View Options
# -------------------------------------------------------------
# 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
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 26, 03:21 (1 d, 8 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2313402
Default Alt Text
networks.sls (787 B)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment