Skip to content

Commit

Permalink
Add custom nameserver to Docker container ansible#1095
Browse files Browse the repository at this point in the history
  • Loading branch information
asg1612 committed Jan 19, 2018
1 parent c28bad7 commit 24c1ba0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Expand Up @@ -47,6 +47,7 @@
capabilities: "{{ item.capabilities | default(omit) }}"
ports: "{{ item.exposed_ports | default(omit) }}"
ulimits: "{{ item.ulimits | default(omit) }}"
dns_servers: "{{ item.dns_servers | default(omit) }}"
register: server
with_items: "{{ molecule_yml.platforms }}"
async: 7200
Expand Down
1 change: 1 addition & 0 deletions molecule/driver/docker.py
Expand Up @@ -51,6 +51,7 @@ class Docker(base.Base):
volumes: "{{ item.volumes | default(omit) }}"
capabilities: "{{ item.capabilities | default(omit) }}"
ulimits: "{{ item.ulimits | default(omit) }}"
dns_servers: "{{ item.dns_servers | default(omit) }}"
.. code-block:: bash
Expand Down

0 comments on commit 24c1ba0

Please sign in to comment.