Fix linting errors.

This commit is contained in:
Felix Fontein 2025-04-26 11:20:32 +02:00
parent 795e6b23dc
commit 2487d1a0bf
125 changed files with 5778 additions and 5662 deletions

View File

@ -1,3 +1,4 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later

View File

@ -1,3 +1,4 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later

View File

@ -7,7 +7,7 @@
# https://github.com/marketplace/actions/ansible-test
name: EOL CI
on:
'on':
# Run EOL CI against all pushes (direct commits, also merged PRs), Pull Requests
push:
branches:

View File

@ -4,7 +4,7 @@
# SPDX-License-Identifier: GPL-3.0-or-later
name: Helper Docker images for testing
on:
'on':
# Run CI against all pushes (direct commits, also merged PRs), Pull Requests
push:
branches:

View File

@ -7,7 +7,7 @@ name: Collection Docs
concurrency:
group: docs-pr-${{ github.head_ref }}
cancel-in-progress: true
on:
'on':
pull_request_target:
types: [opened, synchronize, reopened, closed]

View File

@ -7,7 +7,7 @@ name: Collection Docs
concurrency:
group: docs-push-${{ github.sha }}
cancel-in-progress: true
on:
'on':
push:
branches:
- main

View File

@ -4,7 +4,7 @@
# SPDX-License-Identifier: GPL-3.0-or-later
name: execution environment
on:
'on':
# Run CI against all pushes (direct commits, also merged PRs), Pull Requests
push:
branches:

View File

@ -15,7 +15,7 @@ description: Modules and plugins for working with Docker
license:
- GPL-3.0-or-later
- Apache-2.0
#license_file: COPYING
# license_file: COPYING
tags:
- docker
dependencies:

View File

@ -27,6 +27,7 @@ extends_documentation_fragment:
"""
EXAMPLES = r"""
---
- name: Get facts on current container
community.docker.current_container_facts:

View File

@ -178,6 +178,7 @@ seealso:
"""
EXAMPLES = r"""
---
# Examples use the django example at https://docs.docker.com/compose/django. Follow it to create the
# flask directory

View File

@ -119,6 +119,7 @@ notes:
"""
EXAMPLES = r"""
---
- name: Run a simple command (command)
community.docker.docker_compose_v2_exec:
service: foo

View File

@ -75,6 +75,7 @@ seealso:
"""
EXAMPLES = r"""
---
- name: Pull images for flask project
community.docker.docker_compose_v2_pull:
project_src: /path/to/flask

View File

@ -187,6 +187,7 @@ notes:
"""
EXAMPLES = r"""
---
- name: Run a simple command (command)
community.docker.docker_compose_v2_run:
service: foo

View File

@ -111,6 +111,7 @@ author:
"""
EXAMPLES = r"""
---
- name: Create config foo (from a file on the control machine)
community.docker.docker_config:
name: foo

View File

@ -996,6 +996,7 @@ requirements:
"""
EXAMPLES = r"""
---
- name: Create a data container
community.docker.docker_container:
name: mydata

View File

@ -120,6 +120,7 @@ requirements:
"""
EXAMPLES = r"""
---
- name: Copy a file into the container
community.docker.docker_container_copy_into:
container: mydata

View File

@ -111,6 +111,7 @@ requirements:
"""
EXAMPLES = r"""
---
- name: Run a simple command (command)
community.docker.docker_container_exec:
container: foo

View File

@ -40,6 +40,7 @@ requirements:
"""
EXAMPLES = r"""
---
- name: Get infos on container
community.docker.docker_container_info:
name: mydata

View File

@ -51,6 +51,7 @@ author:
"""
EXAMPLES = r"""
---
- name: Get infos on contexts
community.docker.docker_context_info:
register: result

View File

@ -122,6 +122,7 @@ requirements:
"""
EXAMPLES = r"""
---
- name: Get info on docker host
community.docker.docker_host_info:
register: result

View File

@ -263,6 +263,7 @@ seealso:
"""
EXAMPLES = r"""
---
- name: Pull an image
community.docker.docker_image:
name: pacur/centos-7

View File

@ -248,6 +248,7 @@ seealso:
"""
EXAMPLES = r"""
---
- name: Build Python 3.12 image
community.docker.docker_image_build:
name: localhost/python/3.12:latest

View File

@ -71,6 +71,7 @@ seealso:
"""
EXAMPLES = r"""
---
- name: Export an image
community.docker.docker_image_export:
name: pacur/centos-7

View File

@ -46,6 +46,7 @@ author:
"""
EXAMPLES = r"""
---
- name: Inspect a single image
community.docker.docker_image_info:
name: pacur/centos-7
@ -71,20 +72,68 @@ images:
returned: always
type: list
elements: dict
sample: [{"Architecture": "amd64", "Author": "", "Comment": "", "Config": {"AttachStderr": false, "AttachStdin": false,
"AttachStdout": false, "Cmd": ["/etc/docker/registry/config.yml"], "Domainname": "", "Entrypoint": ["/bin/registry"],
"Env": ["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"], "ExposedPorts": {"5000/tcp": {}},
"Hostname": "e5c68db50333", "Image": "c72dce2618dc8f7b794d2b2c2b1e64e0205ead5befc294f8111da23bd6a2c799", "Labels": {},
"OnBuild": [], "OpenStdin": false, "StdinOnce": false, "Tty": false, "User": "", "Volumes": {"/var/lib/registry": {}},
"WorkingDir": ""}, "Container": "e83a452b8fb89d78a25a6739457050131ca5c863629a47639530d9ad2008d610", "ContainerConfig": {
"AttachStderr": false, "AttachStdin": false, "AttachStdout": false, "Cmd": ["/bin/sh", "-c", '#(nop) CMD ["/etc/docker/registry/config.yml"]'],
"Domainname": "", "Entrypoint": ["/bin/registry"], "Env": ["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],
"ExposedPorts": {"5000/tcp": {}}, "Hostname": "e5c68db50333", "Image": "c72dce2618dc8f7b794d2b2c2b1e64e0205ead5befc294f8111da23bd6a2c799",
"Labels": {}, "OnBuild": [], "OpenStdin": false, "StdinOnce": false, "Tty": false, "User": "", "Volumes": {"/var/lib/registry": {}},
"WorkingDir": ""}, "Created": "2016-03-08T21:08:15.399680378Z", "DockerVersion": "1.9.1", "GraphDriver": {"Data": null,
"Name": "aufs"}, "Id": "53773d8552f07b730f3e19979e32499519807d67b344141d965463a950a66e08", "Name": "registry:2",
"Os": "linux", "Parent": "f0b1f729f784b755e7bf9c8c2e65d8a0a35a533769c2588f02895f6781ac0805", "RepoDigests": [], "RepoTags": [
"registry:2"], "Size": 0, "VirtualSize": 165808884}]
sample: [
{
"Architecture": "amd64",
"Author": "",
"Comment": "",
"Config": {
"AttachStderr": false,
"AttachStdin": false,
"AttachStdout": false,
"Cmd": ["/etc/docker/registry/config.yml"],
"Domainname": "",
"Entrypoint": ["/bin/registry"],
"Env": ["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],
"ExposedPorts": {"5000/tcp": {}},
"Hostname": "e5c68db50333",
"Image": "c72dce2618dc8f7b794d2b2c2b1e64e0205ead5befc294f8111da23bd6a2c799",
"Labels": {},
"OnBuild": [],
"OpenStdin": false,
"StdinOnce": false,
"Tty": false,
"User": "",
"Volumes": {"/var/lib/registry": {}},
"WorkingDir": "",
},
"Container": "e83a452b8fb89d78a25a6739457050131ca5c863629a47639530d9ad2008d610",
"ContainerConfig": {
"AttachStderr": false,
"AttachStdin": false,
"AttachStdout": false,
"Cmd": ["/bin/sh", "-c", '#(nop) CMD ["/etc/docker/registry/config.yml"]'],
"Domainname": "",
"Entrypoint": ["/bin/registry"],
"Env": ["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"],
"ExposedPorts": {"5000/tcp": {}},
"Hostname": "e5c68db50333",
"Image": "c72dce2618dc8f7b794d2b2c2b1e64e0205ead5befc294f8111da23bd6a2c799",
"Labels": {},
"OnBuild": [],
"OpenStdin": false,
"StdinOnce": false,
"Tty": false,
"User": "",
"Volumes": {"/var/lib/registry": {}},
"WorkingDir": "",
},
"Created": "2016-03-08T21:08:15.399680378Z",
"DockerVersion": "1.9.1",
"GraphDriver": {
"Data": null,
"Name": "aufs",
},
"Id": "53773d8552f07b730f3e19979e32499519807d67b344141d965463a950a66e08",
"Name": "registry:2",
"Os": "linux",
"Parent": "f0b1f729f784b755e7bf9c8c2e65d8a0a35a533769c2588f02895f6781ac0805",
"RepoDigests": [],
"RepoTags": ["registry:2"],
"Size": 0,
"VirtualSize": 165808884,
},
]
"""
import traceback

View File

@ -52,6 +52,7 @@ seealso:
"""
EXAMPLES = r"""
---
- name: Load all image(s) from the given tar file
community.docker.docker_image_load:
path: /path/to/images.tar

View File

@ -75,6 +75,7 @@ seealso:
"""
EXAMPLES = r"""
---
- name: Pull an image
community.docker.docker_image_pull:
name: pacur/centos-7

View File

@ -57,6 +57,7 @@ seealso:
"""
EXAMPLES = r"""
---
- name: Push an image
community.docker.docker_image_push:
name: registry.example.com:5000/repo/image

View File

@ -68,6 +68,7 @@ seealso:
"""
EXAMPLES = r"""
---
- name: Remove an image
community.docker.docker_image_remove:
name: pacur/centos-7

View File

@ -76,6 +76,7 @@ seealso:
"""
EXAMPLES = r"""
---
- name: Tag Python 3.12 image with two new names
community.docker.docker_image_tag:
name: python:3.12

View File

@ -85,6 +85,7 @@ author:
"""
EXAMPLES = r"""
---
- name: Log into DockerHub
community.docker.docker_login:
username: docker

View File

@ -203,6 +203,7 @@ requirements:
"""
EXAMPLES = r"""
---
- name: Create a network
community.docker.docker_network:
name: network_one

View File

@ -40,6 +40,7 @@ requirements:
"""
EXAMPLES = r"""
---
- name: Get infos on network
community.docker.docker_network_info:
name: mydata
@ -68,10 +69,32 @@ network:
- Will be V(none) if network does not exist.
returned: always
type: dict
sample: {"Attachable": false, "ConfigFrom": {"Network": ""}, "ConfigOnly": false, "Containers": {}, "Created": "2018-12-07T01:47:51.250835114-06:00",
"Driver": "bridge", "EnableIPv6": false, "IPAM": {"Config": [{"Gateway": "192.168.96.1", "Subnet": "192.168.96.0/20"}],
"Driver": "default", "Options": null}, "Id": "0856968545f22026c41c2c7c3d448319d3b4a6a03a40b148b3ac4031696d1c0a", "Ingress": false,
"Internal": false, "Labels": {}, "Name": "ansible-test-f2700bba", "Options": {}, "Scope": "local"}
sample: {
"Attachable": false,
"ConfigFrom": {"Network": ""},
"ConfigOnly": false,
"Containers": {},
"Created": "2018-12-07T01:47:51.250835114-06:00",
"Driver": "bridge",
"EnableIPv6": false,
"IPAM": {
"Config": [
{
"Gateway": "192.168.96.1",
"Subnet": "192.168.96.0/20",
},
],
"Driver": "default",
"Options": null,
},
"Id": "0856968545f22026c41c2c7c3d448319d3b4a6a03a40b148b3ac4031696d1c0a",
"Ingress": false,
"Internal": false,
"Labels": {},
"Name": "ansible-test-f2700bba",
"Options": {},
"Scope": "local",
}
"""
import traceback

View File

@ -90,6 +90,7 @@ author:
"""
EXAMPLES = r"""
---
- name: Set node role
community.docker.docker_node:
hostname: mynode

View File

@ -52,6 +52,7 @@ requirements:
"""
EXAMPLES = r"""
---
- name: Get info on all nodes
community.docker.docker_node_info:
register: result

View File

@ -86,6 +86,7 @@ requirements:
"""
EXAMPLES = r"""
---
- name: Install a plugin
community.docker.docker_plugin:
plugin_name: plugin_one

View File

@ -114,6 +114,7 @@ requirements:
"""
EXAMPLES = r"""
---
- name: Prune containers older than 24h
community.docker.docker_prune:
containers: true

View File

@ -103,6 +103,7 @@ author:
"""
EXAMPLES = r"""
---
- name: Create secret foo (from a file on the control machine)
community.docker.docker_secret:
name: foo

View File

@ -128,6 +128,7 @@ stack_spec_diff:
"""
EXAMPLES = r"""
---
- name: Deploy stack from a compose file
community.docker.docker_stack:
state: present

View File

@ -66,6 +66,7 @@ results:
"""
EXAMPLES = r"""
---
- name: Shows stack info
community.docker.docker_stack_info:
register: result

View File

@ -59,14 +59,21 @@ results:
description:
- List of dictionaries containing the list of tasks associated to a stack name.
sample:
- {"CurrentState": "Running", "DesiredState": "Running", "Error": "", "ID": "7wqv6m02ugkw", "Image": "busybox", "Name": "test_stack.1",
"Node": "swarm", "Ports": ""}
- CurrentState: Running
DesiredState: Running
Error: ""
ID: 7wqv6m02ugkw
Image: busybox
Name: test_stack.1
Node: swarm
Ports: ""
returned: always
type: list
elements: dict
"""
EXAMPLES = r"""
---
- name: Shows stack info
community.docker.docker_stack_task_info:
name: test_stack

View File

@ -206,6 +206,7 @@ author:
"""
EXAMPLES = r"""
---
- name: Init a new swarm with default parameters
community.docker.docker_swarm:
state: present

View File

@ -89,6 +89,7 @@ requirements:
"""
EXAMPLES = r"""
---
- name: Get info on Docker Swarm
community.docker.docker_swarm_info:
ignore_errors: true

View File

@ -694,6 +694,7 @@ rebuilt:
"""
EXAMPLES = r"""
---
- name: Set command and arguments
community.docker.docker_swarm_service:
name: myservice

View File

@ -41,6 +41,7 @@ requirements:
"""
EXAMPLES = r"""
---
- name: Get info from a service
community.docker.docker_swarm_service_info:
name: myservice

View File

@ -91,6 +91,7 @@ requirements:
"""
EXAMPLES = r"""
---
- name: Create a volume
community.docker.docker_volume:
name: volume_one

View File

@ -38,6 +38,7 @@ requirements:
"""
EXAMPLES = r"""
---
- name: Get infos on volume
community.docker.docker_volume_info:
name: mydata

View File

@ -4,8 +4,8 @@
# SPDX-License-Identifier: GPL-3.0-or-later
collections:
- ansible.posix
- community.crypto
- community.general
- community.internal_test_tools
- community.library_inventory_filtering_v1
- ansible.posix
- community.crypto
- community.general
- community.internal_test_tools
- community.library_inventory_filtering_v1

View File

@ -156,7 +156,7 @@
that:
- output is not changed
# Rolling update
# Rolling update
- name: Create rolling config
docker_config:
@ -233,7 +233,7 @@
that:
- output is failed
# template_driver tests
# template_driver tests
- when: docker_py_version is version('5.0.3', '>=') and docker_api_version is version('1.37', '>=')
block:

View File

@ -3067,7 +3067,7 @@
- log_options_1 is changed
- log_options_2 is not changed
- "'Non-string value found for log_options option \\'max-file\\'. The value is automatically converted to \\'5\\'. If this is not correct, or you want to
avoid such warnings, please quote the value.' in (log_options_2.warnings | default([]))"
avoid such warnings, please quote the value.' in (log_options_2.warnings | default([]))"
- log_options_3 is not changed
- log_options_4 is changed

View File

@ -54,10 +54,10 @@
- output is failed
- output.can_talk_to_docker is false
# Container and volume are created so that all lists are non-empty:
# * container and volume lists are non-emtpy because of the created objects;
# * image list is non-empty because the image of the container is there;
# * network list is always non-empty (default networks).
# Container and volume are created so that all lists are non-empty:
# * container and volume lists are non-emtpy because of the created objects;
# * image list is non-empty because the image of the container is there;
# * network list is always non-empty (default networks).
- name: Create running container
docker_container:
image: "{{ docker_test_image_alpine }}"

View File

@ -17,9 +17,9 @@
state: present
advertise_addr: "{{ ansible_default_ipv4.address | default('127.0.0.1') }}"
####################################################################
## overlay #########################################################
####################################################################
####################################################################
## overlay #########################################################
####################################################################
- name: overlay
docker_network:
@ -55,9 +55,9 @@
- overlay_2 is not changed
- overlay_3 is changed
####################################################################
## ingress #########################################################
####################################################################
####################################################################
## ingress #########################################################
####################################################################
- name: cleanup default swarm ingress network
docker_network:

View File

@ -48,9 +48,9 @@
set_fact:
nodeid: "{{ output.nodes[0].ID }}"
####################################################################
## Set node as swarm manager #######################################
####################################################################
####################################################################
## Set node as swarm manager #######################################
####################################################################
- name: Try to set node as manager (check)
docker_node:
@ -90,9 +90,9 @@
- 'set_as_manager_3.node.Spec.Role == "manager"'
- 'set_as_manager_4.node.Spec.Role == "manager"'
####################################################################
## Set node as swarm worker ########################################
####################################################################
####################################################################
## Set node as swarm worker ########################################
####################################################################
- name: Try to set node as worker (check)
docker_node:
@ -115,9 +115,9 @@
- 'set_as_worker_2 is failed'
- '(set_as_worker_2.msg | regex_search("attempting to demote the last manager of the swarm")) is truthy'
####################################################################
## Set node as pasued ##############################################
####################################################################
####################################################################
## Set node as pasued ##############################################
####################################################################
- name: Try to set node availability as paused (check)
docker_node:
@ -154,9 +154,9 @@
- 'set_as_paused_4 is not changed'
- 'set_as_paused_2.node.Spec.Availability == "pause"'
####################################################################
## Set node as drained #############################################
####################################################################
####################################################################
## Set node as drained #############################################
####################################################################
- name: Try to set node availability as drained (check)
docker_node:
@ -194,9 +194,9 @@
- 'output_drain_2.node.Spec.Availability == "drain"'
####################################################################
## Set node as active ##############################################
####################################################################
####################################################################
## Set node as active ##############################################
####################################################################
- name: Try to set node availability as active (check)
docker_node:
@ -233,9 +233,9 @@
- 'output_active_4 is not changed'
- 'output_active_2.node.Spec.Availability == "active"'
####################################################################
## Add single label ###############################################
####################################################################
####################################################################
## Add single label ###############################################
####################################################################
- name: Try to add single label to swarm node (check)
docker_node:
@ -277,9 +277,9 @@
- 'output_add_single_label_2.node.Spec.Labels | length == 1'
- 'output_add_single_label_2.node.Spec.Labels.label1 == "value1"'
####################################################################
## Add multiple labels #############################################
####################################################################
####################################################################
## Add multiple labels #############################################
####################################################################
- name: Try to add five labels to swarm node (check)
docker_node:
@ -338,9 +338,9 @@
- 'output_add_multiple_labels_2.node.Spec.Labels.label1 == "value1"'
- 'output_add_multiple_labels_2.node.Spec.Labels.label6 == "value6"'
####################################################################
## Update label value ##############################################
####################################################################
####################################################################
## Update label value ##############################################
####################################################################
- name: Update value of existing label (check)
docker_node:
@ -383,9 +383,9 @@
- 'output_update_label_2.node.Spec.Labels.label1 == "value1111"'
- 'output_update_label_2.node.Spec.Labels.label5 == "value5"'
####################################################################
## Update multiple labels values ###################################
####################################################################
####################################################################
## Update multiple labels values ###################################
####################################################################
- name: Update value of multiple existing label (check)
docker_node:
@ -433,9 +433,9 @@
- 'output_update_labels_2.node.Spec.Labels.label3 == "value3333"'
- 'output_update_labels_2.node.Spec.Labels.label5 == "value5"'
####################################################################
## Remove single label #############################################
####################################################################
####################################################################
## Remove single label #############################################
####################################################################
- name: Try to remove single existing label from swarm node (check)
docker_node:
@ -480,9 +480,9 @@
- 'output_remove_label_2.node.Spec.Labels.label5 == "value5"'
####################################################################
## Remove single not assigned to swarm label #######################
####################################################################
####################################################################
## Remove single not assigned to swarm label #######################
####################################################################
- name: Try to remove single non-existing label from swarm node (check)
docker_node:
@ -526,9 +526,9 @@
- 'output_remove_nonexist_label_2.node.Spec.Labels.label3 == "value3333"'
- 'output_remove_nonexist_label_2.node.Spec.Labels.label5 == "value5"'
####################################################################
## Remove multiple labels ##########################################
####################################################################
####################################################################
## Remove multiple labels ##########################################
####################################################################
- name: Try to remove two existing labels from swarm node (check)
docker_node:
@ -576,9 +576,9 @@
- '"label2" not in output_remove_label_2.node.Spec.Labels'
- 'output_remove_label_2.node.Spec.Labels.label5 == "value5"'
####################################################################
## Remove multiple labels, mix assigned and not assigned ##########
####################################################################
####################################################################
## Remove multiple labels, mix assigned and not assigned ##########
####################################################################
- name: Try to remove mix of existing amd non-existing labels from swarm node (check)
docker_node:
@ -626,9 +626,9 @@
- '"label4" not in output_remove_mix_labels_2.node.Spec.Labels'
- 'output_remove_mix_labels_2.node.Spec.Labels.label5 == "value5"'
####################################################################
## Add and remove labels ###########################################
####################################################################
####################################################################
## Add and remove labels ###########################################
####################################################################
- name: Try to add and remove nonoverlapping labels at the same time (check)
docker_node:
@ -683,9 +683,9 @@
- '"label5" not in output_add_del_labels_2.node.Spec.Labels'
- 'output_add_del_labels_2.node.Spec.Labels.label8 == "value8"'
####################################################################
## Add and remove labels with label in both lists ##################
####################################################################
####################################################################
## Add and remove labels with label in both lists ##################
####################################################################
- name: Try to add or update and remove overlapping labels at the same time (check)
docker_node:
@ -745,9 +745,9 @@
- 'output_add_del_overlap_labels_2.node.Spec.Labels.label6 == "value6666"'
- 'output_add_del_overlap_labels_2.node.Spec.Labels.label22 == "value22"'
####################################################################
## Replace labels #############################################
####################################################################
####################################################################
## Replace labels #############################################
####################################################################
- name: Replace labels on swarm node (check)
docker_node:
@ -798,9 +798,9 @@
- '"label6" not in output_replace_labels_2.node.Spec.Labels'
- 'output_replace_labels_2.node.Spec.Labels.label12 == "value12"'
####################################################################
## Remove all labels #############################################
####################################################################
####################################################################
## Remove all labels #############################################
####################################################################
- name: Remove all labels from swarm node (check)
docker_node:

View File

@ -139,7 +139,7 @@
that:
- output.failed
# Rolling update
# Rolling update
- name: Create rolling secret
docker_secret:

View File

@ -71,7 +71,7 @@
- output is changed
# FIXME: updating the stack prevents leaving the swarm on Shippable
#- name: Update stack with YAML
# - name: Update stack with YAML
# register: output
# docker_stack:
# state: present
@ -80,7 +80,7 @@
# - "{{stack_compose_base}}"
# - "{{stack_compose_overrides}}"
#
#- name: assert test_stack correctly changed on update with yaml
# - name: assert test_stack correctly changed on update with yaml
# assert:
# that:
# - output is changed

View File

@ -396,7 +396,7 @@
configs:
- config_id: "{{ config_result_1.config_id|default('') }}"
config_name: "{{ config_name_1 }}"
mode: 0600
mode: "0600"
register: configs_1
ignore_errors: true
@ -409,7 +409,7 @@
configs:
- config_id: "{{ config_result_1.config_id|default('') }}"
config_name: "{{ config_name_1 }}"
mode: 0600
mode: "0600"
register: configs_2
ignore_errors: true
@ -422,7 +422,7 @@
configs:
- config_id: "{{ config_result_1.config_id|default('') }}"
config_name: "{{ config_name_1 }}"
mode: 0777
mode: "0777"
register: configs_3
ignore_errors: true

View File

@ -480,7 +480,7 @@
- source: "{{ volume_name_1 }}"
target: "/tmp/{{ volume_name_1 }}"
type: "tmpfs"
tmpfs_mode: 0444
tmpfs_mode: "0444"
register: mounts_tmpfs_mode_1
ignore_errors: true
@ -494,7 +494,7 @@
- source: "{{ volume_name_1 }}"
target: "/tmp/{{ volume_name_1 }}"
type: "tmpfs"
tmpfs_mode: 0444
tmpfs_mode: "0444"
register: mounts_tmpfs_mode_2
ignore_errors: true
@ -508,7 +508,7 @@
- source: "{{ volume_name_1 }}"
target: "/tmp/{{ volume_name_1 }}"
type: "tmpfs"
tmpfs_mode: 0777
tmpfs_mode: "0777"
register: mounts_tmpfs_mode_3
ignore_errors: true

View File

@ -394,7 +394,7 @@
secrets:
- secret_id: "{{ secret_result_1.secret_id|default('') }}"
secret_name: "{{ secret_name_1 }}"
mode: 0600
mode: "0600"
register: secrets_1
ignore_errors: true
@ -407,7 +407,7 @@
secrets:
- secret_id: "{{ secret_result_1.secret_id|default('') }}"
secret_name: "{{ secret_name_1 }}"
mode: 0600
mode: "0600"
register: secrets_2
ignore_errors: true
@ -420,7 +420,7 @@
secrets:
- secret_id: "{{ secret_result_1.secret_id|default('') }}"
secret_name: "{{ secret_name_1 }}"
mode: 0777
mode: "0777"
register: secrets_3
ignore_errors: true

View File

@ -4,8 +4,8 @@
# SPDX-License-Identifier: GPL-3.0-or-later
dependencies:
#- setup_docker -- done in setup.yml, to work around cleanup problems!
#- setup_docker_current_container_network_ip
# - setup_docker -- done in setup.yml, to work around cleanup problems!
# - setup_docker_current_container_network_ip
- setup_docker_python_deps
- setup_openssl
- setup_remote_tmp_dir

View File

@ -4,5 +4,5 @@
# SPDX-License-Identifier: GPL-3.0-or-later
collections:
- community.internal_test_tools
- community.library_inventory_filtering_v1
- community.internal_test_tools
- community.library_inventory_filtering_v1