1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/integration/targets/docker_swarm_service/vars/main.yml
Hannes Ljungberg 18b968d486 docker_swarm_service: Add healthcheck option (#52419)
* Define yaml versions as strings

* Add healthcheck option

* Add changelog fragment

* Don’t set version_added as strings

* Use single quoted string

* Disable healthcheck tests on python 2.6

* Bring back quoting on already quoted version-added

* Python 2.6 compat

* Move functions to docker-common

* Move parse_healthcheck to docker-common

* Cast exception to str before printing failure

* Extend parse_healthcheck tests
2019-02-18 09:46:14 +00:00

45 lines
1,017 B
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
healthcheck: null
healthcheck_disabled: null
hostname: null
image: busybox
labels: null
limit_cpu: null
limit_memory: null
log_driver: null
log_driver_options: null
mode: global
mounts: null
networks: 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: 10
update_failure_action: null
update_max_failure_ratio: null
update_monitor: null
update_order: null
update_parallelism: 1