Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
4a08aac2
Commit
4a08aac2
authored
Aug 08, 2014
by
James Cammarata
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updating version_added for docker net param and adding an example
parent
1051748b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
library/cloud/docker
+10
-2
No files found.
library/cloud/docker
View file @
4a08aac2
...
@@ -185,11 +185,11 @@ options:
...
@@ -185,11 +185,11 @@ options:
version_added: "1.6"
version_added: "1.6"
net:
net:
description:
description:
- Set Network mode for the container (bridge, none, container:<name|id>, host)
- Set Network mode for the container (bridge, none, container:<name|id>, host)
. Requires docker >= 0.11.
required: false
required: false
default: false
default: false
aliases: []
aliases: []
version_added: "1.
11
"
version_added: "1.
8
"
author: Cove Schneider, Joshua Conner, Pavel Antonov
author: Cove Schneider, Joshua Conner, Pavel Antonov
requirements: [ "docker-py >= 0.3.0", "docker >= 0.10.0" ]
requirements: [ "docker-py >= 0.3.0", "docker >= 0.10.0" ]
'''
'''
...
@@ -300,6 +300,14 @@ Create containers with options specified as strings and lists as comma-separated
...
@@ -300,6 +300,14 @@ Create containers with options specified as strings and lists as comma-separated
sudo: yes
sudo: yes
tasks:
tasks:
docker: image=namespace/image_name links=postgresql:db,redis:redis
docker: image=namespace/image_name links=postgresql:db,redis:redis
Create a container with no networking:
- hosts: web
sudo: yes
tasks:
docker: image=namespace/image_name net=none
'''
'''
HAS_DOCKER_PY
=
True
HAS_DOCKER_PY
=
True
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment