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>
2019-07-26 16:39:21 -04:00
..
host_vars ansible-test: Use psrp for 2008 host ci_complete (#55273) 2019-04-23 08:13:03 +10:00
targets Implements extra_hosts for docker_image module (#59540) 2019-07-26 16:39:21 -04:00
cloud-config-aws.ini.template Removed nested role for ec2_instance tests 2019-07-02 17:48:07 -04:00
cloud-config-azure.ini.template
cloud-config-cloudscale.ini.template
cloud-config-cs.ini.template
cloud-config-gcp.ini.template
cloud-config-hcloud.ini.template Add Hetzner Cloud to CI integration tests. 2019-04-09 15:41:50 -07:00
cloud-config-opennebula.ini.template
cloud-config-openshift.kubeconfig.template
cloud-config-scaleway.ini.template Migrate Scaleway tests to integration tests 2019-04-09 15:41:30 -07:00
cloud-config-tower.ini.template
cloud-config-vcenter.ini.template Add proxy vars to vcenter integration test config 2019-06-11 11:26:52 -04:00
cloud-config-vultr.ini.template
integration.cfg
integration_config.yml
inventory
inventory.networking.template
inventory.remote.template
inventory.winrm.template
network-integration.cfg Use stdout_callback yaml for network-integration tests (#56102) 2019-05-06 21:01:40 +05:30
target-prefixes.network
windows-integration.cfg