You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration
Sorin Sbarnea 7c6fb57b7d Implements extra_hosts for docker_image module (#59540)
* Implements etc_hosts for docker_image module

Allows custom hosts on docker_image module.

The of this option made impossible to use docker_image module to build
images that required a custom hostname in /etc/hosts. For running
containers this option was already present.

While the python-docker API uses extra_hosts term, our existing module
already uses etc_hosts argument, so it sounds better to have some
consistency between docker_container and docker_image.

Fixes: #59233

* Update test/integration/targets/docker_image/files/EtcHostsDockerfile

Co-Authored-By: Felix Fontein <felix@fontein.de>

* Update lib/ansible/modules/cloud/docker/docker_image.py

Co-Authored-By: Felix Fontein <felix@fontein.de>

* Update changelogs/fragments/docker_image_etc_hosts.yml

Co-Authored-By: Felix Fontein <felix@fontein.de>
5 years ago
..
host_vars ansible-test: Use psrp for 2008 host ci_complete (#55273) 6 years ago
targets Implements extra_hosts for docker_image module (#59540) 5 years ago
cloud-config-aws.ini.template Removed nested role for ec2_instance tests 5 years ago
cloud-config-azure.ini.template Overhaul ansible-test cloud test plugins. (#53044) 6 years ago
cloud-config-cloudscale.ini.template Overhaul ansible-test cloud test plugins. (#53044) 6 years ago
cloud-config-cs.ini.template Overhaul ansible-test cloud test plugins. (#53044) 6 years ago
cloud-config-gcp.ini.template Overhaul ansible-test cloud test plugins. (#53044) 6 years ago
cloud-config-hcloud.ini.template Add Hetzner Cloud to CI integration tests. 6 years ago
cloud-config-opennebula.ini.template Overhaul ansible-test cloud test plugins. (#53044) 6 years ago
cloud-config-openshift.kubeconfig.template
cloud-config-scaleway.ini.template Migrate Scaleway tests to integration tests 6 years ago
cloud-config-tower.ini.template Overhaul ansible-test cloud test plugins. (#53044) 6 years ago
cloud-config-vcenter.ini.template Add proxy vars to vcenter integration test config 6 years ago
cloud-config-vultr.ini.template
integration.cfg Force tests to set ansible_python_interpreter. (#54191) 6 years ago
integration_config.yml
inventory Overhaul ansible-test code coverage and injector. (#53510) 6 years ago
inventory.networking.template Rename MSC modules to MSO nomenclature (#50959) 6 years ago
inventory.remote.template
inventory.winrm.template
network-integration.cfg Use stdout_callback yaml for network-integration tests (#56102) 6 years ago
target-prefixes.network Rename MSC modules to MSO nomenclature (#50959) 6 years ago
windows-integration.cfg Enable force_handlers for integration tests. 6 years ago