mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-15 04:39:12 -07:00
docker_swarm_service: Remove defaults (#51216)
* Drop descriptions of docker-py constraints <=3.0.0 * Properly indent documentation * Clearer examples * Spelling * Fix example * Revert "Drop descriptions of docker-py constraints <=3.0.0" This reverts commit 8106215af62ae5880c3b748cec562a85f2247bdc. # Conflicts: # lib/ansible/modules/cloud/docker/docker_swarm_service.py * Add min versions for placement preferences * Add endpoint_mode and publish to option_minimal_versions * Restrict update max_failure_ratio and monitor versions * Remove defaults and only pass required arguments * Fix indentation * Fix args documentation * Fix replicas documentation Co-Authored-By: hannseman <hannes@5monkeys.se> * Add type to all documented options * Add suboptions for mounts, secrets and configs * Add suboptions to argument spec * Remove redundant validation and casting * Don’t default Spec.EndpointSpec.Mode to vip * Use single quotes as string literal * Catch ImportError explicitly * Move init to top of class * Align closing brackets * Spelling * Import LooseVersion * Documentation fixes * Documentation fix * Documentation fixes * Remove required: false and default=None * Defaults for update_delay and update_parallelism * Set correct key for default * Handle empty idempotency * Clearer image documentation Co-Authored-By: hannseman <hannes@5monkeys.se> * Clearer constraint documentation Co-Authored-By: hannseman <hannes@5monkeys.se> * Better documentation of corresponding service opts
This commit is contained in:
parent
2721ed260e
commit
153e996760
3 changed files with 1122 additions and 702 deletions
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue