ansible/test/integration/targets/docker_swarm_service/vars/main.yml
Hannes Ljungberg 3d07e7241a docker_swarm_service: Documentation fixes (#53479)
* Document and validate mode choices

* Update examples

* Test cpu float values

* Test correct option

* Fix module return sample

* Add secrets and user to module return value

* Order options alphabetically

* Add changelog

* yaml indentation

* Revert "Order options alphabetically"

This reverts commit 51dabccda7.

* Be consistent with choices type
2019-03-07 16:51:59 -06:00

51 lines
1.1 KiB
YAML

---
service_expected_output:
args: [sleep, '1800']
configs: null
constraints: null
container_labels: null
command: null
dns: null
dns_options: null
dns_search: null
endpoint_mode: vip
env: null
force_update: null
groups: null
healthcheck: null
healthcheck_disabled: null
hostname: null
hosts: null
image: busybox
labels: null
limit_cpu: null
limit_memory: null
log_driver: null
log_driver_options: null
mode: global
mounts: null
networks: null
secrets: null
stop_grace_period: null
stop_signal: null
placement_preferences: null
publish:
- {mode: null, protocol: tcp, published_port: 60001, target_port: 60001}
- {mode: null, protocol: udp, published_port: 60001, target_port: 60001}
replicas: null
reserve_cpu: null
reserve_memory: null
restart_policy: null
restart_policy_attempts: null
restart_policy_delay: null
restart_policy_window: null
tty: null
update_delay: null
update_failure_action: null
update_max_failure_ratio: null
update_monitor: null
update_order: null
update_parallelism: null
user: null
working_dir: null