Merge "Correct variable names in module and tasks file"

This commit is contained in:
Zuul 2018-07-27 16:48:01 +00:00 committed by Gerrit Code Review
commit 32bbdc447c
3 changed files with 8 additions and 8 deletions

View File

@ -39,9 +39,9 @@ See Docker guides for [images](https://docs.docker.com/engine/reference/commandl
| Name | Default Value | Description | | Name | Default Value | Description |
|-------------------|---------------------|----------------------| |-------------------|---------------------|----------------------|
| `operations_image_filters` | `['dangling=true']` | List of image filters. | | `operations_image_filter` | `['dangling=true']` | List of image filters. |
| `operations_volume_filters` | `['dangling=true']` | List of volume filters. | | `operations_volume_filter` | `['dangling=true']` | List of volume filters. |
| `operations_container_filters` | `['status=exited', 'status=dead']` | List of container filters. | | `operations_container_filter` | `['status=exited', 'status=dead']` | List of container filters. |
**Variables for fetching logs** **Variables for fetching logs**

View File

@ -1,9 +1,9 @@
# Cleanup Docker # Cleanup Docker
operations_image_filters: operations_image_filter:
- dangling=true - dangling=true
operations_volume_filters: operations_volume_filter:
- dangling=true - dangling=true
operations_container_filters: operations_container_filter:
- status=exited - status=exited
- status=dead - status=dead

View File

@ -57,8 +57,8 @@ def get_systemd_services(module, service_unit_list):
def run_module(): def run_module():
module_args = dict(operations_service_map=dict(type=dict, required=True), module_args = dict(service_map=dict(type=dict, required=True),
operations_service_names=dict(type=list, required=True), services=dict(type=list, required=True),
) )
module = AnsibleModule( module = AnsibleModule(