community.docker/tests/integration/targets
Felix Fontein e198e4ab43
Add docker_container_copy_into module (#545)
* Move copying functionality to module_utils.

* Add docker_container_copy_into module.

* Use new module in other tests.

* Fix copyright and attributes.

* Improve idempotency, improve stat code.

* Document and test when a stopped container works.

* Improve owner/group detection error handling when container is stopped.

* Fix formulation.

Co-authored-by: Brian Scholer <1260690+briantist@users.noreply.github.com>

* Improve file comparison.

* Avoid reading whole file at once.

* Stream when fetching files from daemon.

* Fix comment.

* Use read() instead of read1().

* Stream files when copying into container.

* Linting.

* Add force parameter.

* Simplify library code.

* Linting.

* Add content and content_is_b64 options.

* Make force=false work as for copy module: only copy if the destination does not exist.

* Improve docs.

* content should be no_log.

* Implement diff mode.

* Improve error handling.

* Lint and improve.

* Set owner/group ID to avoid ID lookup (which fails in paused containers).

* Apply suggestions from code review

Co-authored-by: Brian Scholer <1260690+briantist@users.noreply.github.com>

Co-authored-by: Brian Scholer <1260690+briantist@users.noreply.github.com>
2023-01-09 11:52:29 +01:00
..
connection Move licenses to LICENSES/, use SPDX-License-Identifier, mention all licenses in galaxy.yml (#430) 2022-07-20 07:45:33 +02:00
connection_docker Improve CI (#528) 2022-12-11 17:30:37 +01:00
connection_docker_api Improve CI (#528) 2022-12-11 17:30:37 +01:00
connection_nsenter Improve CI (#528) 2022-12-11 17:30:37 +01:00
connection_posix Move licenses to LICENSES/, use SPDX-License-Identifier, mention all licenses in galaxy.yml (#430) 2022-07-20 07:45:33 +02:00
current_container_facts Make current_container_facts work with newer Docker versions and latest ansible-test container changes (#510) 2022-11-30 22:25:33 +01:00
docker_compose Change CI group identifiers. (#484) 2022-10-10 22:39:27 +02:00
docker_config Handle ansible_default_ipv4 not there in tests. (#514) 2022-12-01 00:02:02 +01:00
docker_container Improve CI (#528) 2022-12-11 17:30:37 +01:00
docker_container_copy_into Add docker_container_copy_into module (#545) 2023-01-09 11:52:29 +01:00
docker_container_exec Change CI group identifiers. (#484) 2022-10-10 22:39:27 +02:00
docker_container_info Change CI group identifiers. (#484) 2022-10-10 22:39:27 +02:00
docker_host_info Delete stopped container as well. 2022-12-28 16:33:45 +01:00
docker_image Make image archive/save idempotent, using image id and repo tags as keys (#500) 2022-11-30 23:45:36 +01:00
docker_image_info Change CI group identifiers. (#484) 2022-10-10 22:39:27 +02:00
docker_image_load Change CI group identifiers. (#484) 2022-10-10 22:39:27 +02:00
docker_login Change CI group identifiers. (#484) 2022-10-10 22:39:27 +02:00
docker_network Handle ansible_default_ipv4 not there in tests. (#514) 2022-12-01 00:02:02 +01:00
docker_network_info Change CI group identifiers. (#484) 2022-10-10 22:39:27 +02:00
docker_node Change CI group identifiers. (#484) 2022-10-10 22:39:27 +02:00
docker_node_info Change CI group identifiers. (#484) 2022-10-10 22:39:27 +02:00
docker_plugin Improve CI (#528) 2022-12-11 17:30:37 +01:00
docker_prune Change CI group identifiers. (#484) 2022-10-10 22:39:27 +02:00
docker_secret Handle ansible_default_ipv4 not there in tests. (#514) 2022-12-01 00:02:02 +01:00
docker_stack Handle ansible_default_ipv4 not there in tests. (#514) 2022-12-01 00:02:02 +01:00
docker_stack_info Handle ansible_default_ipv4 not there in tests. (#514) 2022-12-01 00:02:02 +01:00
docker_stack_task_info Handle ansible_default_ipv4 not there in tests. (#514) 2022-12-01 00:02:02 +01:00
docker_swarm Change CI group identifiers. (#484) 2022-10-10 22:39:27 +02:00
docker_swarm_info Change CI group identifiers. (#484) 2022-10-10 22:39:27 +02:00
docker_swarm_service Change CI group identifiers. (#484) 2022-10-10 22:39:27 +02:00
docker_swarm_service_info Change CI group identifiers. (#484) 2022-10-10 22:39:27 +02:00
docker_volume Change CI group identifiers. (#484) 2022-10-10 22:39:27 +02:00
docker_volume_info Change CI group identifiers. (#484) 2022-10-10 22:39:27 +02:00
generic_connection_tests Add docker_container_copy_into module (#545) 2023-01-09 11:52:29 +01:00
generic_ssh_connection Improve CI (#528) 2022-12-11 17:30:37 +01:00
inventory_docker_containers Change CI group identifiers. (#484) 2022-10-10 22:39:27 +02:00
inventory_docker_machine Change CI group identifiers. (#484) 2022-10-10 22:39:27 +02:00
inventory_docker_swarm Change CI group identifiers. (#484) 2022-10-10 22:39:27 +02:00
setup_docker CI: improve Docker setup (#550) 2023-01-08 22:21:59 +01:00
setup_docker_compose Move licenses to LICENSES/, use SPDX-License-Identifier, mention all licenses in galaxy.yml (#430) 2022-07-20 07:45:33 +02:00
setup_docker_compose_v2 Add setup role for Docker Compose v2. (#542) 2022-12-30 15:19:20 +01:00
setup_docker_registry Add docker_container_copy_into module (#545) 2023-01-09 11:52:29 +01:00
setup_epel/tasks Move licenses to LICENSES/, use SPDX-License-Identifier, mention all licenses in galaxy.yml (#430) 2022-07-20 07:45:33 +02:00
setup_openssl Move licenses to LICENSES/, use SPDX-License-Identifier, mention all licenses in galaxy.yml (#430) 2022-07-20 07:45:33 +02:00
setup_paramiko Move licenses to LICENSES/, use SPDX-License-Identifier, mention all licenses in galaxy.yml (#430) 2022-07-20 07:45:33 +02:00
setup_pkg_mgr/tasks Move licenses to LICENSES/, use SPDX-License-Identifier, mention all licenses in galaxy.yml (#430) 2022-07-20 07:45:33 +02:00
setup_remote_constraints Move licenses to LICENSES/, use SPDX-License-Identifier, mention all licenses in galaxy.yml (#430) 2022-07-20 07:45:33 +02:00
setup_remote_tmp_dir Move licenses to LICENSES/, use SPDX-License-Identifier, mention all licenses in galaxy.yml (#430) 2022-07-20 07:45:33 +02:00