mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-07-29 19:57:58 +00:00
Implement cap_add and cap_drop handling for docker_swarm_service (#294)
* Implement `cap_add` and `cap_drop` handling for `docker_swarm_service` * Fix typos in changelog fragment * Add missing `version_added` docstrings to `docker_swarm_service` * Check api version too in `docker_swarm_service` capability tests * Fix API version checking in tests for docker_swarm_service Co-authored-by: Felix Fontein <felix@fontein.de> * Add `cap_add` and `cap_drop` to sample output for `docker_swarm_service` * Use proper diff checking for `docker_swarm_service` capabilities Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
service_expected_output:
|
||||
args: [sleep, '1800']
|
||||
cap_add: null
|
||||
cap_drop: null
|
||||
configs: null
|
||||
constraints: null
|
||||
container_labels: null
|
||||
|
||||
Reference in New Issue
Block a user