add npipe support to docker_swarm_service (#60073)

* add npipe support to docker_swarm_service

* add changelog fragment

* tweak changelog fragment formatting

* Update lib/ansible/modules/cloud/docker/docker_swarm_service.py

Co-Authored-By: Felix Fontein <felix@fontein.de>
pull/60287/head
Drew 5 years ago committed by Felix Fontein
parent c2e7683926
commit 6932a5b357

@ -0,0 +1,2 @@
minor_changes:
- docker_swarm_service - Add ``npipe`` mount support.

@ -285,12 +285,14 @@ options:
type: type:
description: description:
- The mount type. - The mount type.
- Note that C(npipe) is only supported by Docker for Windows. Also note that C(npipe) was added in Ansible 2.9.
type: str type: str
default: bind default: bind
choices: choices:
- bind - bind
- volume - volume
- tmpfs - tmpfs
- npipe
readonly: readonly:
description: description:
- Whether the mount should be read-only. - Whether the mount should be read-only.
@ -2535,7 +2537,7 @@ def main():
type=dict( type=dict(
type='str', type='str',
default='bind', default='bind',
choices=['bind', 'volume', 'tmpfs'], choices=['bind', 'volume', 'tmpfs', 'npipe'],
), ),
readonly=dict(type='bool'), readonly=dict(type='bool'),
labels=dict(type='dict'), labels=dict(type='dict'),

Loading…
Cancel
Save