Last active
September 28, 2020 09:28
-
-
Save husjon/ae88c6e8a94b9aea4b4bb7633d5c135f to your computer and use it in GitHub Desktop.
`docker_container` published_ports revokal output
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ╭─ husjon in /tmp/testing | |
| ╰─(ノ˚Д˚)ノ ansible-playbook -i hosts playbook.yaml -vvvv | |
| ansible-playbook 2.9.13 | |
| config file = /etc/ansible/ansible.cfg | |
| configured module search path = ['/home/husjon/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] | |
| ansible python module location = /usr/lib/python3.8/site-packages/ansible | |
| executable location = /usr/bin/ansible-playbook | |
| python version = 3.8.5 (default, Sep 5 2020, 10:50:12) [GCC 10.2.0] | |
| Using /etc/ansible/ansible.cfg as config file | |
| setting up inventory plugins | |
| host_list declined parsing /tmp/testing/hosts as it did not pass its verify_file() method | |
| script declined parsing /tmp/testing/hosts as it did not pass its verify_file() method | |
| auto declined parsing /tmp/testing/hosts as it did not pass its verify_file() method | |
| Parsed /tmp/testing/hosts inventory source with ini plugin | |
| Loading callback plugin default of type stdout, v2.0 from /usr/lib/python3.8/site-packages/ansible/plugins/callback/default.py | |
| PLAYBOOK: playbook.yaml **************************************************************************************************************** | |
| Positional arguments: playbook.yaml | |
| verbosity: 4 | |
| connection: smart | |
| timeout: 10 | |
| become_method: sudo | |
| tags: ('all',) | |
| inventory: ('/tmp/testing/hosts',) | |
| forks: 5 | |
| 1 plays in playbook.yaml | |
| PLAY [deploy nginx] ******************************************************************************************************************** | |
| TASK [Gathering Facts] ***************************************************************************************************************** | |
| task path: /tmp/testing/playbook.yaml:2 | |
| <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: husjon | |
| <127.0.0.1> EXEC /bin/sh -c 'echo ~husjon && sleep 0' | |
| <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/husjon/.ansible/tmp `"&& mkdir "` echo /home/husjon/.ansible/tmp/ansible-tmp-1601285216.5997312-3939303-86662970078677 `" && echo ansible-tmp-1601285216.5997312-3939303-86662970078677="` echo /home/husjon/.ansible/tmp/ansible-tmp-1601285216.5997312-3939303-86662970078677 `" ) && sleep 0' | |
| Using module file /usr/lib/python3.8/site-packages/ansible/modules/system/setup.py | |
| <127.0.0.1> PUT /home/husjon/.ansible/tmp/ansible-local-39392966rd7glrx/tmptwbaft18 TO /home/husjon/.ansible/tmp/ansible-tmp-1601285216.5997312-3939303-86662970078677/AnsiballZ_setup.py | |
| <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/husjon/.ansible/tmp/ansible-tmp-1601285216.5997312-3939303-86662970078677/ /home/husjon/.ansible/tmp/ansible-tmp-1601285216.5997312-3939303-86662970078677/AnsiballZ_setup.py && sleep 0' | |
| <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python /home/husjon/.ansible/tmp/ansible-tmp-1601285216.5997312-3939303-86662970078677/AnsiballZ_setup.py && sleep 0' | |
| <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/husjon/.ansible/tmp/ansible-tmp-1601285216.5997312-3939303-86662970078677/ > /dev/null 2>&1 && sleep 0' | |
| ok: [localhost] | |
| META: ran handlers | |
| TASK [deploy container with published ports] ******************************************************************************************* | |
| task path: /tmp/testing/playbook.yaml:6 | |
| <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: husjon | |
| <127.0.0.1> EXEC /bin/sh -c 'echo ~husjon && sleep 0' | |
| <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/husjon/.ansible/tmp `"&& mkdir "` echo /home/husjon/.ansible/tmp/ansible-tmp-1601285217.3150184-3939499-36660447495388 `" && echo ansible-tmp-1601285217.3150184-3939499-36660447495388="` echo /home/husjon/.ansible/tmp/ansible-tmp-1601285217.3150184-3939499-36660447495388 `" ) && sleep 0' | |
| Using module file /usr/lib/python3.8/site-packages/ansible/modules/cloud/docker/docker_container.py | |
| <127.0.0.1> PUT /home/husjon/.ansible/tmp/ansible-local-39392966rd7glrx/tmp3z9e5o_d TO /home/husjon/.ansible/tmp/ansible-tmp-1601285217.3150184-3939499-36660447495388/AnsiballZ_docker_container.py | |
| <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/husjon/.ansible/tmp/ansible-tmp-1601285217.3150184-3939499-36660447495388/ /home/husjon/.ansible/tmp/ansible-tmp-1601285217.3150184-3939499-36660447495388/AnsiballZ_docker_container.py && sleep 0' | |
| <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python /home/husjon/.ansible/tmp/ansible-tmp-1601285217.3150184-3939499-36660447495388/AnsiballZ_docker_container.py && sleep 0' | |
| <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/husjon/.ansible/tmp/ansible-tmp-1601285217.3150184-3939499-36660447495388/ > /dev/null 2>&1 && sleep 0' | |
| ok: [localhost] => { | |
| "ansible_facts": { | |
| "docker_container": { | |
| "AppArmorProfile": "", | |
| "Args": [ | |
| "nginx", | |
| "-g", | |
| "daemon off;" | |
| ], | |
| "Config": { | |
| "AttachStderr": false, | |
| "AttachStdin": false, | |
| "AttachStdout": false, | |
| "Cmd": [ | |
| "nginx", | |
| "-g", | |
| "daemon off;" | |
| ], | |
| "Domainname": "", | |
| "Entrypoint": [ | |
| "/docker-entrypoint.sh" | |
| ], | |
| "Env": [ | |
| "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", | |
| "NGINX_VERSION=1.19.2", | |
| "NJS_VERSION=0.4.3", | |
| "PKG_RELEASE=1~buster" | |
| ], | |
| "ExposedPorts": { | |
| "80/tcp": {} | |
| }, | |
| "Hostname": "3eb85ccc96c7", | |
| "Image": "nginx:latest", | |
| "Labels": { | |
| "maintainer": "NGINX Docker Maintainers <[email protected]>" | |
| }, | |
| "OnBuild": null, | |
| "OpenStdin": false, | |
| "StdinOnce": false, | |
| "StopSignal": "SIGTERM", | |
| "Tty": false, | |
| "User": "", | |
| "Volumes": null, | |
| "WorkingDir": "" | |
| }, | |
| "Created": "2020-09-28T09:24:00.636935887Z", | |
| "Driver": "overlay2", | |
| "ExecIDs": null, | |
| "GraphDriver": { | |
| "Data": { | |
| "LowerDir": "/var/lib/docker/overlay2/a0e17cb5c32a99f715ac9b62afdc9e6c68ff775cfaf046d967b37e8eb172aaeb-init/diff:/var/lib/docker/overlay2/c94f17980d29ddeb17f1636b83058e48f43b1fd110624771dc84d4a2bc1b71de/diff:/var/lib/docker/overlay2/91b11737cd43f2b51d3ff9ffb5321b95e8ed9e91fb1e732ffb3a021c6623c387/diff:/var/lib/docker/overlay2/3f356bf889960eba5afa7f0466fee740eaed34eb0721be56fac69d9e349aceed/diff:/var/lib/docker/overlay2/001feb35832f2c18153eb1d6e840f04a915a169b6c072bf6b2946db2577e4a1a/diff:/var/lib/docker/overlay2/f7e3fcecaf2516b049614c4ad2f370e1e677b6e24b5e25de871b10d02f9826c9/diff", | |
| "MergedDir": "/var/lib/docker/overlay2/a0e17cb5c32a99f715ac9b62afdc9e6c68ff775cfaf046d967b37e8eb172aaeb/merged", | |
| "UpperDir": "/var/lib/docker/overlay2/a0e17cb5c32a99f715ac9b62afdc9e6c68ff775cfaf046d967b37e8eb172aaeb/diff", | |
| "WorkDir": "/var/lib/docker/overlay2/a0e17cb5c32a99f715ac9b62afdc9e6c68ff775cfaf046d967b37e8eb172aaeb/work" | |
| }, | |
| "Name": "overlay2" | |
| }, | |
| "HostConfig": { | |
| "AutoRemove": false, | |
| "Binds": [], | |
| "BlkioDeviceReadBps": null, | |
| "BlkioDeviceReadIOps": null, | |
| "BlkioDeviceWriteBps": null, | |
| "BlkioDeviceWriteIOps": null, | |
| "BlkioWeight": 0, | |
| "BlkioWeightDevice": null, | |
| "CapAdd": null, | |
| "CapDrop": null, | |
| "Capabilities": null, | |
| "Cgroup": "", | |
| "CgroupParent": "", | |
| "ConsoleSize": [ | |
| 0, | |
| 0 | |
| ], | |
| "ContainerIDFile": "", | |
| "CpuCount": 0, | |
| "CpuPercent": 0, | |
| "CpuPeriod": 0, | |
| "CpuQuota": 0, | |
| "CpuRealtimePeriod": 0, | |
| "CpuRealtimeRuntime": 0, | |
| "CpuShares": 0, | |
| "CpusetCpus": "", | |
| "CpusetMems": "", | |
| "DeviceCgroupRules": null, | |
| "DeviceRequests": null, | |
| "Devices": null, | |
| "Dns": null, | |
| "DnsOptions": null, | |
| "DnsSearch": null, | |
| "ExtraHosts": null, | |
| "GroupAdd": null, | |
| "IOMaximumBandwidth": 0, | |
| "IOMaximumIOps": 0, | |
| "Init": false, | |
| "IpcMode": "private", | |
| "Isolation": "", | |
| "KernelMemory": 0, | |
| "KernelMemoryTCP": 0, | |
| "Links": null, | |
| "LogConfig": { | |
| "Config": {}, | |
| "Type": "json-file" | |
| }, | |
| "MaskedPaths": [ | |
| "/proc/asound", | |
| "/proc/acpi", | |
| "/proc/kcore", | |
| "/proc/keys", | |
| "/proc/latency_stats", | |
| "/proc/timer_list", | |
| "/proc/timer_stats", | |
| "/proc/sched_debug", | |
| "/proc/scsi", | |
| "/sys/firmware" | |
| ], | |
| "Memory": 0, | |
| "MemoryReservation": 0, | |
| "MemorySwap": 0, | |
| "MemorySwappiness": null, | |
| "NanoCpus": 0, | |
| "NetworkMode": "default", | |
| "OomKillDisable": false, | |
| "OomScoreAdj": 0, | |
| "PidMode": "", | |
| "PidsLimit": null, | |
| "PortBindings": { | |
| "80/tcp": [ | |
| { | |
| "HostIp": "0.0.0.0", | |
| "HostPort": "80" | |
| } | |
| ] | |
| }, | |
| "Privileged": false, | |
| "PublishAllPorts": false, | |
| "ReadonlyPaths": [ | |
| "/proc/bus", | |
| "/proc/fs", | |
| "/proc/irq", | |
| "/proc/sys", | |
| "/proc/sysrq-trigger" | |
| ], | |
| "ReadonlyRootfs": false, | |
| "RestartPolicy": { | |
| "MaximumRetryCount": 0, | |
| "Name": "" | |
| }, | |
| "Runtime": "runc", | |
| "SecurityOpt": null, | |
| "ShmSize": 67108864, | |
| "UTSMode": "", | |
| "Ulimits": null, | |
| "UsernsMode": "", | |
| "VolumeDriver": "", | |
| "VolumesFrom": null | |
| }, | |
| "HostnamePath": "/var/lib/docker/containers/3eb85ccc96c7a49408258838c189ce4bdae10a8b8559e2b72e36a91d7def91a3/hostname", | |
| "HostsPath": "/var/lib/docker/containers/3eb85ccc96c7a49408258838c189ce4bdae10a8b8559e2b72e36a91d7def91a3/hosts", | |
| "Id": "3eb85ccc96c7a49408258838c189ce4bdae10a8b8559e2b72e36a91d7def91a3", | |
| "Image": "sha256:7e4d58f0e5f3b60077e9a5d96b4be1b974b5a484f54f9393000a99f3b6816e3d", | |
| "LogPath": "/var/lib/docker/containers/3eb85ccc96c7a49408258838c189ce4bdae10a8b8559e2b72e36a91d7def91a3/3eb85ccc96c7a49408258838c189ce4bdae10a8b8559e2b72e36a91d7def91a3-json.log", | |
| "MountLabel": "", | |
| "Mounts": [], | |
| "Name": "/nginx", | |
| "NetworkSettings": { | |
| "Bridge": "", | |
| "EndpointID": "e2bf646ce505a1e0383c4b7641a3ce38e5851359e37fa3aee095c81e76aa1e77", | |
| "Gateway": "172.17.0.1", | |
| "GlobalIPv6Address": "", | |
| "GlobalIPv6PrefixLen": 0, | |
| "HairpinMode": false, | |
| "IPAddress": "172.17.0.4", | |
| "IPPrefixLen": 16, | |
| "IPv6Gateway": "", | |
| "LinkLocalIPv6Address": "", | |
| "LinkLocalIPv6PrefixLen": 0, | |
| "MacAddress": "02:42:ac:11:00:04", | |
| "Networks": { | |
| "bridge": { | |
| "Aliases": null, | |
| "DriverOpts": null, | |
| "EndpointID": "e2bf646ce505a1e0383c4b7641a3ce38e5851359e37fa3aee095c81e76aa1e77", | |
| "Gateway": "172.17.0.1", | |
| "GlobalIPv6Address": "", | |
| "GlobalIPv6PrefixLen": 0, | |
| "IPAMConfig": null, | |
| "IPAddress": "172.17.0.4", | |
| "IPPrefixLen": 16, | |
| "IPv6Gateway": "", | |
| "Links": null, | |
| "MacAddress": "02:42:ac:11:00:04", | |
| "NetworkID": "147e153336e5e81295ae07f6bf0d068a2ce3ee5050a38e7160f48689bbbdf0cf" | |
| } | |
| }, | |
| "Ports": { | |
| "80/tcp": [ | |
| { | |
| "HostIp": "0.0.0.0", | |
| "HostPort": "80" | |
| } | |
| ] | |
| }, | |
| "SandboxID": "ca0890321dc653fdbc5c9ca3d83ae32bc61378336f5835bf84b430844224a37e", | |
| "SandboxKey": "/var/run/docker/netns/ca0890321dc6", | |
| "SecondaryIPAddresses": null, | |
| "SecondaryIPv6Addresses": null | |
| }, | |
| "Path": "/docker-entrypoint.sh", | |
| "Platform": "linux", | |
| "ProcessLabel": "", | |
| "ResolvConfPath": "/var/lib/docker/containers/3eb85ccc96c7a49408258838c189ce4bdae10a8b8559e2b72e36a91d7def91a3/resolv.conf", | |
| "RestartCount": 0, | |
| "State": { | |
| "Dead": false, | |
| "Error": "", | |
| "ExitCode": 0, | |
| "FinishedAt": "0001-01-01T00:00:00Z", | |
| "OOMKilled": false, | |
| "Paused": false, | |
| "Pid": 3934637, | |
| "Restarting": false, | |
| "Running": true, | |
| "StartedAt": "2020-09-28T09:24:00.967426064Z", | |
| "Status": "running" | |
| } | |
| } | |
| }, | |
| "changed": false, | |
| "container": { | |
| "AppArmorProfile": "", | |
| "Args": [ | |
| "nginx", | |
| "-g", | |
| "daemon off;" | |
| ], | |
| "Config": { | |
| "AttachStderr": false, | |
| "AttachStdin": false, | |
| "AttachStdout": false, | |
| "Cmd": [ | |
| "nginx", | |
| "-g", | |
| "daemon off;" | |
| ], | |
| "Domainname": "", | |
| "Entrypoint": [ | |
| "/docker-entrypoint.sh" | |
| ], | |
| "Env": [ | |
| "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", | |
| "NGINX_VERSION=1.19.2", | |
| "NJS_VERSION=0.4.3", | |
| "PKG_RELEASE=1~buster" | |
| ], | |
| "ExposedPorts": { | |
| "80/tcp": {} | |
| }, | |
| "Hostname": "3eb85ccc96c7", | |
| "Image": "nginx:latest", | |
| "Labels": { | |
| "maintainer": "NGINX Docker Maintainers <[email protected]>" | |
| }, | |
| "OnBuild": null, | |
| "OpenStdin": false, | |
| "StdinOnce": false, | |
| "StopSignal": "SIGTERM", | |
| "Tty": false, | |
| "User": "", | |
| "Volumes": null, | |
| "WorkingDir": "" | |
| }, | |
| "Created": "2020-09-28T09:24:00.636935887Z", | |
| "Driver": "overlay2", | |
| "ExecIDs": null, | |
| "GraphDriver": { | |
| "Data": { | |
| "LowerDir": "/var/lib/docker/overlay2/a0e17cb5c32a99f715ac9b62afdc9e6c68ff775cfaf046d967b37e8eb172aaeb-init/diff:/var/lib/docker/overlay2/c94f17980d29ddeb17f1636b83058e48f43b1fd110624771dc84d4a2bc1b71de/diff:/var/lib/docker/overlay2/91b11737cd43f2b51d3ff9ffb5321b95e8ed9e91fb1e732ffb3a021c6623c387/diff:/var/lib/docker/overlay2/3f356bf889960eba5afa7f0466fee740eaed34eb0721be56fac69d9e349aceed/diff:/var/lib/docker/overlay2/001feb35832f2c18153eb1d6e840f04a915a169b6c072bf6b2946db2577e4a1a/diff:/var/lib/docker/overlay2/f7e3fcecaf2516b049614c4ad2f370e1e677b6e24b5e25de871b10d02f9826c9/diff", | |
| "MergedDir": "/var/lib/docker/overlay2/a0e17cb5c32a99f715ac9b62afdc9e6c68ff775cfaf046d967b37e8eb172aaeb/merged", | |
| "UpperDir": "/var/lib/docker/overlay2/a0e17cb5c32a99f715ac9b62afdc9e6c68ff775cfaf046d967b37e8eb172aaeb/diff", | |
| "WorkDir": "/var/lib/docker/overlay2/a0e17cb5c32a99f715ac9b62afdc9e6c68ff775cfaf046d967b37e8eb172aaeb/work" | |
| }, | |
| "Name": "overlay2" | |
| }, | |
| "HostConfig": { | |
| "AutoRemove": false, | |
| "Binds": [], | |
| "BlkioDeviceReadBps": null, | |
| "BlkioDeviceReadIOps": null, | |
| "BlkioDeviceWriteBps": null, | |
| "BlkioDeviceWriteIOps": null, | |
| "BlkioWeight": 0, | |
| "BlkioWeightDevice": null, | |
| "CapAdd": null, | |
| "CapDrop": null, | |
| "Capabilities": null, | |
| "Cgroup": "", | |
| "CgroupParent": "", | |
| "ConsoleSize": [ | |
| 0, | |
| 0 | |
| ], | |
| "ContainerIDFile": "", | |
| "CpuCount": 0, | |
| "CpuPercent": 0, | |
| "CpuPeriod": 0, | |
| "CpuQuota": 0, | |
| "CpuRealtimePeriod": 0, | |
| "CpuRealtimeRuntime": 0, | |
| "CpuShares": 0, | |
| "CpusetCpus": "", | |
| "CpusetMems": "", | |
| "DeviceCgroupRules": null, | |
| "DeviceRequests": null, | |
| "Devices": null, | |
| "Dns": null, | |
| "DnsOptions": null, | |
| "DnsSearch": null, | |
| "ExtraHosts": null, | |
| "GroupAdd": null, | |
| "IOMaximumBandwidth": 0, | |
| "IOMaximumIOps": 0, | |
| "Init": false, | |
| "IpcMode": "private", | |
| "Isolation": "", | |
| "KernelMemory": 0, | |
| "KernelMemoryTCP": 0, | |
| "Links": null, | |
| "LogConfig": { | |
| "Config": {}, | |
| "Type": "json-file" | |
| }, | |
| "MaskedPaths": [ | |
| "/proc/asound", | |
| "/proc/acpi", | |
| "/proc/kcore", | |
| "/proc/keys", | |
| "/proc/latency_stats", | |
| "/proc/timer_list", | |
| "/proc/timer_stats", | |
| "/proc/sched_debug", | |
| "/proc/scsi", | |
| "/sys/firmware" | |
| ], | |
| "Memory": 0, | |
| "MemoryReservation": 0, | |
| "MemorySwap": 0, | |
| "MemorySwappiness": null, | |
| "NanoCpus": 0, | |
| "NetworkMode": "default", | |
| "OomKillDisable": false, | |
| "OomScoreAdj": 0, | |
| "PidMode": "", | |
| "PidsLimit": null, | |
| "PortBindings": { | |
| "80/tcp": [ | |
| { | |
| "HostIp": "0.0.0.0", | |
| "HostPort": "80" | |
| } | |
| ] | |
| }, | |
| "Privileged": false, | |
| "PublishAllPorts": false, | |
| "ReadonlyPaths": [ | |
| "/proc/bus", | |
| "/proc/fs", | |
| "/proc/irq", | |
| "/proc/sys", | |
| "/proc/sysrq-trigger" | |
| ], | |
| "ReadonlyRootfs": false, | |
| "RestartPolicy": { | |
| "MaximumRetryCount": 0, | |
| "Name": "" | |
| }, | |
| "Runtime": "runc", | |
| "SecurityOpt": null, | |
| "ShmSize": 67108864, | |
| "UTSMode": "", | |
| "Ulimits": null, | |
| "UsernsMode": "", | |
| "VolumeDriver": "", | |
| "VolumesFrom": null | |
| }, | |
| "HostnamePath": "/var/lib/docker/containers/3eb85ccc96c7a49408258838c189ce4bdae10a8b8559e2b72e36a91d7def91a3/hostname", | |
| "HostsPath": "/var/lib/docker/containers/3eb85ccc96c7a49408258838c189ce4bdae10a8b8559e2b72e36a91d7def91a3/hosts", | |
| "Id": "3eb85ccc96c7a49408258838c189ce4bdae10a8b8559e2b72e36a91d7def91a3", | |
| "Image": "sha256:7e4d58f0e5f3b60077e9a5d96b4be1b974b5a484f54f9393000a99f3b6816e3d", | |
| "LogPath": "/var/lib/docker/containers/3eb85ccc96c7a49408258838c189ce4bdae10a8b8559e2b72e36a91d7def91a3/3eb85ccc96c7a49408258838c189ce4bdae10a8b8559e2b72e36a91d7def91a3-json.log", | |
| "MountLabel": "", | |
| "Mounts": [], | |
| "Name": "/nginx", | |
| "NetworkSettings": { | |
| "Bridge": "", | |
| "EndpointID": "e2bf646ce505a1e0383c4b7641a3ce38e5851359e37fa3aee095c81e76aa1e77", | |
| "Gateway": "172.17.0.1", | |
| "GlobalIPv6Address": "", | |
| "GlobalIPv6PrefixLen": 0, | |
| "HairpinMode": false, | |
| "IPAddress": "172.17.0.4", | |
| "IPPrefixLen": 16, | |
| "IPv6Gateway": "", | |
| "LinkLocalIPv6Address": "", | |
| "LinkLocalIPv6PrefixLen": 0, | |
| "MacAddress": "02:42:ac:11:00:04", | |
| "Networks": { | |
| "bridge": { | |
| "Aliases": null, | |
| "DriverOpts": null, | |
| "EndpointID": "e2bf646ce505a1e0383c4b7641a3ce38e5851359e37fa3aee095c81e76aa1e77", | |
| "Gateway": "172.17.0.1", | |
| "GlobalIPv6Address": "", | |
| "GlobalIPv6PrefixLen": 0, | |
| "IPAMConfig": null, | |
| "IPAddress": "172.17.0.4", | |
| "IPPrefixLen": 16, | |
| "IPv6Gateway": "", | |
| "Links": null, | |
| "MacAddress": "02:42:ac:11:00:04", | |
| "NetworkID": "147e153336e5e81295ae07f6bf0d068a2ce3ee5050a38e7160f48689bbbdf0cf" | |
| } | |
| }, | |
| "Ports": { | |
| "80/tcp": [ | |
| { | |
| "HostIp": "0.0.0.0", | |
| "HostPort": "80" | |
| } | |
| ] | |
| }, | |
| "SandboxID": "ca0890321dc653fdbc5c9ca3d83ae32bc61378336f5835bf84b430844224a37e", | |
| "SandboxKey": "/var/run/docker/netns/ca0890321dc6", | |
| "SecondaryIPAddresses": null, | |
| "SecondaryIPv6Addresses": null | |
| }, | |
| "Path": "/docker-entrypoint.sh", | |
| "Platform": "linux", | |
| "ProcessLabel": "", | |
| "ResolvConfPath": "/var/lib/docker/containers/3eb85ccc96c7a49408258838c189ce4bdae10a8b8559e2b72e36a91d7def91a3/resolv.conf", | |
| "RestartCount": 0, | |
| "State": { | |
| "Dead": false, | |
| "Error": "", | |
| "ExitCode": 0, | |
| "FinishedAt": "0001-01-01T00:00:00Z", | |
| "OOMKilled": false, | |
| "Paused": false, | |
| "Pid": 3934637, | |
| "Restarting": false, | |
| "Running": true, | |
| "StartedAt": "2020-09-28T09:24:00.967426064Z", | |
| "Status": "running" | |
| } | |
| }, | |
| "invocation": { | |
| "module_args": { | |
| "api_version": "auto", | |
| "auto_remove": false, | |
| "blkio_weight": null, | |
| "ca_cert": null, | |
| "cap_drop": null, | |
| "capabilities": null, | |
| "cleanup": false, | |
| "client_cert": null, | |
| "client_key": null, | |
| "command": null, | |
| "comparisons": null, | |
| "cpu_period": null, | |
| "cpu_quota": null, | |
| "cpu_shares": null, | |
| "cpuset_cpus": null, | |
| "cpuset_mems": null, | |
| "debug": false, | |
| "detach": true, | |
| "device_read_bps": null, | |
| "device_read_iops": null, | |
| "device_write_bps": null, | |
| "device_write_iops": null, | |
| "devices": null, | |
| "dns_opts": null, | |
| "dns_search_domains": null, | |
| "dns_servers": null, | |
| "docker_host": "unix://var/run/docker.sock", | |
| "domainname": null, | |
| "entrypoint": null, | |
| "env": null, | |
| "env_file": null, | |
| "etc_hosts": null, | |
| "exposed_ports": null, | |
| "force_kill": false, | |
| "groups": null, | |
| "healthcheck": null, | |
| "hostname": null, | |
| "ignore_image": false, | |
| "image": "nginx:latest", | |
| "init": false, | |
| "interactive": false, | |
| "ipc_mode": null, | |
| "keep_volumes": true, | |
| "kernel_memory": null, | |
| "kill_signal": null, | |
| "labels": null, | |
| "links": null, | |
| "log_driver": null, | |
| "log_options": null, | |
| "mac_address": null, | |
| "memory": "0", | |
| "memory_reservation": null, | |
| "memory_swap": null, | |
| "memory_swappiness": null, | |
| "mounts": null, | |
| "name": "nginx", | |
| "network_mode": null, | |
| "networks": null, | |
| "networks_cli_compatible": null, | |
| "oom_killer": null, | |
| "oom_score_adj": null, | |
| "output_logs": false, | |
| "paused": false, | |
| "pid_mode": null, | |
| "pids_limit": null, | |
| "privileged": false, | |
| "published_ports": [ | |
| "80:80" | |
| ], | |
| "pull": false, | |
| "purge_networks": false, | |
| "read_only": false, | |
| "recreate": false, | |
| "restart": false, | |
| "restart_policy": null, | |
| "restart_retries": null, | |
| "runtime": null, | |
| "security_opts": null, | |
| "shm_size": null, | |
| "ssl_version": null, | |
| "state": "started", | |
| "stop_signal": null, | |
| "stop_timeout": null, | |
| "sysctls": null, | |
| "timeout": 60, | |
| "tls": false, | |
| "tls_hostname": "localhost", | |
| "tmpfs": null, | |
| "trust_image_content": false, | |
| "tty": false, | |
| "ulimits": null, | |
| "user": null, | |
| "userns_mode": null, | |
| "uts": null, | |
| "validate_certs": false, | |
| "volume_driver": null, | |
| "volumes": null, | |
| "volumes_from": null, | |
| "working_dir": null | |
| } | |
| } | |
| } | |
| TASK [deploy container without published ports (revokal)"] ***************************************************************************** | |
| task path: /tmp/testing/playbook.yaml:13 | |
| <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: husjon | |
| <127.0.0.1> EXEC /bin/sh -c 'echo ~husjon && sleep 0' | |
| <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/husjon/.ansible/tmp `"&& mkdir "` echo /home/husjon/.ansible/tmp/ansible-tmp-1601285217.7395892-3939529-246346719706985 `" && echo ansible-tmp-1601285217.7395892-3939529-246346719706985="` echo /home/husjon/.ansible/tmp/ansible-tmp-1601285217.7395892-3939529-246346719706985 `" ) && sleep 0' | |
| Using module file /usr/lib/python3.8/site-packages/ansible/modules/cloud/docker/docker_container.py | |
| <127.0.0.1> PUT /home/husjon/.ansible/tmp/ansible-local-39392966rd7glrx/tmpoud4havx TO /home/husjon/.ansible/tmp/ansible-tmp-1601285217.7395892-3939529-246346719706985/AnsiballZ_docker_container.py | |
| <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/husjon/.ansible/tmp/ansible-tmp-1601285217.7395892-3939529-246346719706985/ /home/husjon/.ansible/tmp/ansible-tmp-1601285217.7395892-3939529-246346719706985/AnsiballZ_docker_container.py && sleep 0' | |
| <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python /home/husjon/.ansible/tmp/ansible-tmp-1601285217.7395892-3939529-246346719706985/AnsiballZ_docker_container.py && sleep 0' | |
| <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/husjon/.ansible/tmp/ansible-tmp-1601285217.7395892-3939529-246346719706985/ > /dev/null 2>&1 && sleep 0' | |
| ok: [localhost] => { | |
| "ansible_facts": { | |
| "docker_container": { | |
| "AppArmorProfile": "", | |
| "Args": [ | |
| "nginx", | |
| "-g", | |
| "daemon off;" | |
| ], | |
| "Config": { | |
| "AttachStderr": false, | |
| "AttachStdin": false, | |
| "AttachStdout": false, | |
| "Cmd": [ | |
| "nginx", | |
| "-g", | |
| "daemon off;" | |
| ], | |
| "Domainname": "", | |
| "Entrypoint": [ | |
| "/docker-entrypoint.sh" | |
| ], | |
| "Env": [ | |
| "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", | |
| "NGINX_VERSION=1.19.2", | |
| "NJS_VERSION=0.4.3", | |
| "PKG_RELEASE=1~buster" | |
| ], | |
| "ExposedPorts": { | |
| "80/tcp": {} | |
| }, | |
| "Hostname": "3eb85ccc96c7", | |
| "Image": "nginx:latest", | |
| "Labels": { | |
| "maintainer": "NGINX Docker Maintainers <[email protected]>" | |
| }, | |
| "OnBuild": null, | |
| "OpenStdin": false, | |
| "StdinOnce": false, | |
| "StopSignal": "SIGTERM", | |
| "Tty": false, | |
| "User": "", | |
| "Volumes": null, | |
| "WorkingDir": "" | |
| }, | |
| "Created": "2020-09-28T09:24:00.636935887Z", | |
| "Driver": "overlay2", | |
| "ExecIDs": null, | |
| "GraphDriver": { | |
| "Data": { | |
| "LowerDir": "/var/lib/docker/overlay2/a0e17cb5c32a99f715ac9b62afdc9e6c68ff775cfaf046d967b37e8eb172aaeb-init/diff:/var/lib/docker/overlay2/c94f17980d29ddeb17f1636b83058e48f43b1fd110624771dc84d4a2bc1b71de/diff:/var/lib/docker/overlay2/91b11737cd43f2b51d3ff9ffb5321b95e8ed9e91fb1e732ffb3a021c6623c387/diff:/var/lib/docker/overlay2/3f356bf889960eba5afa7f0466fee740eaed34eb0721be56fac69d9e349aceed/diff:/var/lib/docker/overlay2/001feb35832f2c18153eb1d6e840f04a915a169b6c072bf6b2946db2577e4a1a/diff:/var/lib/docker/overlay2/f7e3fcecaf2516b049614c4ad2f370e1e677b6e24b5e25de871b10d02f9826c9/diff", | |
| "MergedDir": "/var/lib/docker/overlay2/a0e17cb5c32a99f715ac9b62afdc9e6c68ff775cfaf046d967b37e8eb172aaeb/merged", | |
| "UpperDir": "/var/lib/docker/overlay2/a0e17cb5c32a99f715ac9b62afdc9e6c68ff775cfaf046d967b37e8eb172aaeb/diff", | |
| "WorkDir": "/var/lib/docker/overlay2/a0e17cb5c32a99f715ac9b62afdc9e6c68ff775cfaf046d967b37e8eb172aaeb/work" | |
| }, | |
| "Name": "overlay2" | |
| }, | |
| "HostConfig": { | |
| "AutoRemove": false, | |
| "Binds": [], | |
| "BlkioDeviceReadBps": null, | |
| "BlkioDeviceReadIOps": null, | |
| "BlkioDeviceWriteBps": null, | |
| "BlkioDeviceWriteIOps": null, | |
| "BlkioWeight": 0, | |
| "BlkioWeightDevice": null, | |
| "CapAdd": null, | |
| "CapDrop": null, | |
| "Capabilities": null, | |
| "Cgroup": "", | |
| "CgroupParent": "", | |
| "ConsoleSize": [ | |
| 0, | |
| 0 | |
| ], | |
| "ContainerIDFile": "", | |
| "CpuCount": 0, | |
| "CpuPercent": 0, | |
| "CpuPeriod": 0, | |
| "CpuQuota": 0, | |
| "CpuRealtimePeriod": 0, | |
| "CpuRealtimeRuntime": 0, | |
| "CpuShares": 0, | |
| "CpusetCpus": "", | |
| "CpusetMems": "", | |
| "DeviceCgroupRules": null, | |
| "DeviceRequests": null, | |
| "Devices": null, | |
| "Dns": null, | |
| "DnsOptions": null, | |
| "DnsSearch": null, | |
| "ExtraHosts": null, | |
| "GroupAdd": null, | |
| "IOMaximumBandwidth": 0, | |
| "IOMaximumIOps": 0, | |
| "Init": false, | |
| "IpcMode": "private", | |
| "Isolation": "", | |
| "KernelMemory": 0, | |
| "KernelMemoryTCP": 0, | |
| "Links": null, | |
| "LogConfig": { | |
| "Config": {}, | |
| "Type": "json-file" | |
| }, | |
| "MaskedPaths": [ | |
| "/proc/asound", | |
| "/proc/acpi", | |
| "/proc/kcore", | |
| "/proc/keys", | |
| "/proc/latency_stats", | |
| "/proc/timer_list", | |
| "/proc/timer_stats", | |
| "/proc/sched_debug", | |
| "/proc/scsi", | |
| "/sys/firmware" | |
| ], | |
| "Memory": 0, | |
| "MemoryReservation": 0, | |
| "MemorySwap": 0, | |
| "MemorySwappiness": null, | |
| "NanoCpus": 0, | |
| "NetworkMode": "default", | |
| "OomKillDisable": false, | |
| "OomScoreAdj": 0, | |
| "PidMode": "", | |
| "PidsLimit": null, | |
| "PortBindings": { | |
| "80/tcp": [ | |
| { | |
| "HostIp": "0.0.0.0", | |
| "HostPort": "80" | |
| } | |
| ] | |
| }, | |
| "Privileged": false, | |
| "PublishAllPorts": false, | |
| "ReadonlyPaths": [ | |
| "/proc/bus", | |
| "/proc/fs", | |
| "/proc/irq", | |
| "/proc/sys", | |
| "/proc/sysrq-trigger" | |
| ], | |
| "ReadonlyRootfs": false, | |
| "RestartPolicy": { | |
| "MaximumRetryCount": 0, | |
| "Name": "" | |
| }, | |
| "Runtime": "runc", | |
| "SecurityOpt": null, | |
| "ShmSize": 67108864, | |
| "UTSMode": "", | |
| "Ulimits": null, | |
| "UsernsMode": "", | |
| "VolumeDriver": "", | |
| "VolumesFrom": null | |
| }, | |
| "HostnamePath": "/var/lib/docker/containers/3eb85ccc96c7a49408258838c189ce4bdae10a8b8559e2b72e36a91d7def91a3/hostname", | |
| "HostsPath": "/var/lib/docker/containers/3eb85ccc96c7a49408258838c189ce4bdae10a8b8559e2b72e36a91d7def91a3/hosts", | |
| "Id": "3eb85ccc96c7a49408258838c189ce4bdae10a8b8559e2b72e36a91d7def91a3", | |
| "Image": "sha256:7e4d58f0e5f3b60077e9a5d96b4be1b974b5a484f54f9393000a99f3b6816e3d", | |
| "LogPath": "/var/lib/docker/containers/3eb85ccc96c7a49408258838c189ce4bdae10a8b8559e2b72e36a91d7def91a3/3eb85ccc96c7a49408258838c189ce4bdae10a8b8559e2b72e36a91d7def91a3-json.log", | |
| "MountLabel": "", | |
| "Mounts": [], | |
| "Name": "/nginx", | |
| "NetworkSettings": { | |
| "Bridge": "", | |
| "EndpointID": "e2bf646ce505a1e0383c4b7641a3ce38e5851359e37fa3aee095c81e76aa1e77", | |
| "Gateway": "172.17.0.1", | |
| "GlobalIPv6Address": "", | |
| "GlobalIPv6PrefixLen": 0, | |
| "HairpinMode": false, | |
| "IPAddress": "172.17.0.4", | |
| "IPPrefixLen": 16, | |
| "IPv6Gateway": "", | |
| "LinkLocalIPv6Address": "", | |
| "LinkLocalIPv6PrefixLen": 0, | |
| "MacAddress": "02:42:ac:11:00:04", | |
| "Networks": { | |
| "bridge": { | |
| "Aliases": null, | |
| "DriverOpts": null, | |
| "EndpointID": "e2bf646ce505a1e0383c4b7641a3ce38e5851359e37fa3aee095c81e76aa1e77", | |
| "Gateway": "172.17.0.1", | |
| "GlobalIPv6Address": "", | |
| "GlobalIPv6PrefixLen": 0, | |
| "IPAMConfig": null, | |
| "IPAddress": "172.17.0.4", | |
| "IPPrefixLen": 16, | |
| "IPv6Gateway": "", | |
| "Links": null, | |
| "MacAddress": "02:42:ac:11:00:04", | |
| "NetworkID": "147e153336e5e81295ae07f6bf0d068a2ce3ee5050a38e7160f48689bbbdf0cf" | |
| } | |
| }, | |
| "Ports": { | |
| "80/tcp": [ | |
| { | |
| "HostIp": "0.0.0.0", | |
| "HostPort": "80" | |
| } | |
| ] | |
| }, | |
| "SandboxID": "ca0890321dc653fdbc5c9ca3d83ae32bc61378336f5835bf84b430844224a37e", | |
| "SandboxKey": "/var/run/docker/netns/ca0890321dc6", | |
| "SecondaryIPAddresses": null, | |
| "SecondaryIPv6Addresses": null | |
| }, | |
| "Path": "/docker-entrypoint.sh", | |
| "Platform": "linux", | |
| "ProcessLabel": "", | |
| "ResolvConfPath": "/var/lib/docker/containers/3eb85ccc96c7a49408258838c189ce4bdae10a8b8559e2b72e36a91d7def91a3/resolv.conf", | |
| "RestartCount": 0, | |
| "State": { | |
| "Dead": false, | |
| "Error": "", | |
| "ExitCode": 0, | |
| "FinishedAt": "0001-01-01T00:00:00Z", | |
| "OOMKilled": false, | |
| "Paused": false, | |
| "Pid": 3934637, | |
| "Restarting": false, | |
| "Running": true, | |
| "StartedAt": "2020-09-28T09:24:00.967426064Z", | |
| "Status": "running" | |
| } | |
| } | |
| }, | |
| "changed": false, | |
| "container": { | |
| "AppArmorProfile": "", | |
| "Args": [ | |
| "nginx", | |
| "-g", | |
| "daemon off;" | |
| ], | |
| "Config": { | |
| "AttachStderr": false, | |
| "AttachStdin": false, | |
| "AttachStdout": false, | |
| "Cmd": [ | |
| "nginx", | |
| "-g", | |
| "daemon off;" | |
| ], | |
| "Domainname": "", | |
| "Entrypoint": [ | |
| "/docker-entrypoint.sh" | |
| ], | |
| "Env": [ | |
| "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", | |
| "NGINX_VERSION=1.19.2", | |
| "NJS_VERSION=0.4.3", | |
| "PKG_RELEASE=1~buster" | |
| ], | |
| "ExposedPorts": { | |
| "80/tcp": {} | |
| }, | |
| "Hostname": "3eb85ccc96c7", | |
| "Image": "nginx:latest", | |
| "Labels": { | |
| "maintainer": "NGINX Docker Maintainers <[email protected]>" | |
| }, | |
| "OnBuild": null, | |
| "OpenStdin": false, | |
| "StdinOnce": false, | |
| "StopSignal": "SIGTERM", | |
| "Tty": false, | |
| "User": "", | |
| "Volumes": null, | |
| "WorkingDir": "" | |
| }, | |
| "Created": "2020-09-28T09:24:00.636935887Z", | |
| "Driver": "overlay2", | |
| "ExecIDs": null, | |
| "GraphDriver": { | |
| "Data": { | |
| "LowerDir": "/var/lib/docker/overlay2/a0e17cb5c32a99f715ac9b62afdc9e6c68ff775cfaf046d967b37e8eb172aaeb-init/diff:/var/lib/docker/overlay2/c94f17980d29ddeb17f1636b83058e48f43b1fd110624771dc84d4a2bc1b71de/diff:/var/lib/docker/overlay2/91b11737cd43f2b51d3ff9ffb5321b95e8ed9e91fb1e732ffb3a021c6623c387/diff:/var/lib/docker/overlay2/3f356bf889960eba5afa7f0466fee740eaed34eb0721be56fac69d9e349aceed/diff:/var/lib/docker/overlay2/001feb35832f2c18153eb1d6e840f04a915a169b6c072bf6b2946db2577e4a1a/diff:/var/lib/docker/overlay2/f7e3fcecaf2516b049614c4ad2f370e1e677b6e24b5e25de871b10d02f9826c9/diff", | |
| "MergedDir": "/var/lib/docker/overlay2/a0e17cb5c32a99f715ac9b62afdc9e6c68ff775cfaf046d967b37e8eb172aaeb/merged", | |
| "UpperDir": "/var/lib/docker/overlay2/a0e17cb5c32a99f715ac9b62afdc9e6c68ff775cfaf046d967b37e8eb172aaeb/diff", | |
| "WorkDir": "/var/lib/docker/overlay2/a0e17cb5c32a99f715ac9b62afdc9e6c68ff775cfaf046d967b37e8eb172aaeb/work" | |
| }, | |
| "Name": "overlay2" | |
| }, | |
| "HostConfig": { | |
| "AutoRemove": false, | |
| "Binds": [], | |
| "BlkioDeviceReadBps": null, | |
| "BlkioDeviceReadIOps": null, | |
| "BlkioDeviceWriteBps": null, | |
| "BlkioDeviceWriteIOps": null, | |
| "BlkioWeight": 0, | |
| "BlkioWeightDevice": null, | |
| "CapAdd": null, | |
| "CapDrop": null, | |
| "Capabilities": null, | |
| "Cgroup": "", | |
| "CgroupParent": "", | |
| "ConsoleSize": [ | |
| 0, | |
| 0 | |
| ], | |
| "ContainerIDFile": "", | |
| "CpuCount": 0, | |
| "CpuPercent": 0, | |
| "CpuPeriod": 0, | |
| "CpuQuota": 0, | |
| "CpuRealtimePeriod": 0, | |
| "CpuRealtimeRuntime": 0, | |
| "CpuShares": 0, | |
| "CpusetCpus": "", | |
| "CpusetMems": "", | |
| "DeviceCgroupRules": null, | |
| "DeviceRequests": null, | |
| "Devices": null, | |
| "Dns": null, | |
| "DnsOptions": null, | |
| "DnsSearch": null, | |
| "ExtraHosts": null, | |
| "GroupAdd": null, | |
| "IOMaximumBandwidth": 0, | |
| "IOMaximumIOps": 0, | |
| "Init": false, | |
| "IpcMode": "private", | |
| "Isolation": "", | |
| "KernelMemory": 0, | |
| "KernelMemoryTCP": 0, | |
| "Links": null, | |
| "LogConfig": { | |
| "Config": {}, | |
| "Type": "json-file" | |
| }, | |
| "MaskedPaths": [ | |
| "/proc/asound", | |
| "/proc/acpi", | |
| "/proc/kcore", | |
| "/proc/keys", | |
| "/proc/latency_stats", | |
| "/proc/timer_list", | |
| "/proc/timer_stats", | |
| "/proc/sched_debug", | |
| "/proc/scsi", | |
| "/sys/firmware" | |
| ], | |
| "Memory": 0, | |
| "MemoryReservation": 0, | |
| "MemorySwap": 0, | |
| "MemorySwappiness": null, | |
| "NanoCpus": 0, | |
| "NetworkMode": "default", | |
| "OomKillDisable": false, | |
| "OomScoreAdj": 0, | |
| "PidMode": "", | |
| "PidsLimit": null, | |
| "PortBindings": { | |
| "80/tcp": [ | |
| { | |
| "HostIp": "0.0.0.0", | |
| "HostPort": "80" | |
| } | |
| ] | |
| }, | |
| "Privileged": false, | |
| "PublishAllPorts": false, | |
| "ReadonlyPaths": [ | |
| "/proc/bus", | |
| "/proc/fs", | |
| "/proc/irq", | |
| "/proc/sys", | |
| "/proc/sysrq-trigger" | |
| ], | |
| "ReadonlyRootfs": false, | |
| "RestartPolicy": { | |
| "MaximumRetryCount": 0, | |
| "Name": "" | |
| }, | |
| "Runtime": "runc", | |
| "SecurityOpt": null, | |
| "ShmSize": 67108864, | |
| "UTSMode": "", | |
| "Ulimits": null, | |
| "UsernsMode": "", | |
| "VolumeDriver": "", | |
| "VolumesFrom": null | |
| }, | |
| "HostnamePath": "/var/lib/docker/containers/3eb85ccc96c7a49408258838c189ce4bdae10a8b8559e2b72e36a91d7def91a3/hostname", | |
| "HostsPath": "/var/lib/docker/containers/3eb85ccc96c7a49408258838c189ce4bdae10a8b8559e2b72e36a91d7def91a3/hosts", | |
| "Id": "3eb85ccc96c7a49408258838c189ce4bdae10a8b8559e2b72e36a91d7def91a3", | |
| "Image": "sha256:7e4d58f0e5f3b60077e9a5d96b4be1b974b5a484f54f9393000a99f3b6816e3d", | |
| "LogPath": "/var/lib/docker/containers/3eb85ccc96c7a49408258838c189ce4bdae10a8b8559e2b72e36a91d7def91a3/3eb85ccc96c7a49408258838c189ce4bdae10a8b8559e2b72e36a91d7def91a3-json.log", | |
| "MountLabel": "", | |
| "Mounts": [], | |
| "Name": "/nginx", | |
| "NetworkSettings": { | |
| "Bridge": "", | |
| "EndpointID": "e2bf646ce505a1e0383c4b7641a3ce38e5851359e37fa3aee095c81e76aa1e77", | |
| "Gateway": "172.17.0.1", | |
| "GlobalIPv6Address": "", | |
| "GlobalIPv6PrefixLen": 0, | |
| "HairpinMode": false, | |
| "IPAddress": "172.17.0.4", | |
| "IPPrefixLen": 16, | |
| "IPv6Gateway": "", | |
| "LinkLocalIPv6Address": "", | |
| "LinkLocalIPv6PrefixLen": 0, | |
| "MacAddress": "02:42:ac:11:00:04", | |
| "Networks": { | |
| "bridge": { | |
| "Aliases": null, | |
| "DriverOpts": null, | |
| "EndpointID": "e2bf646ce505a1e0383c4b7641a3ce38e5851359e37fa3aee095c81e76aa1e77", | |
| "Gateway": "172.17.0.1", | |
| "GlobalIPv6Address": "", | |
| "GlobalIPv6PrefixLen": 0, | |
| "IPAMConfig": null, | |
| "IPAddress": "172.17.0.4", | |
| "IPPrefixLen": 16, | |
| "IPv6Gateway": "", | |
| "Links": null, | |
| "MacAddress": "02:42:ac:11:00:04", | |
| "NetworkID": "147e153336e5e81295ae07f6bf0d068a2ce3ee5050a38e7160f48689bbbdf0cf" | |
| } | |
| }, | |
| "Ports": { | |
| "80/tcp": [ | |
| { | |
| "HostIp": "0.0.0.0", | |
| "HostPort": "80" | |
| } | |
| ] | |
| }, | |
| "SandboxID": "ca0890321dc653fdbc5c9ca3d83ae32bc61378336f5835bf84b430844224a37e", | |
| "SandboxKey": "/var/run/docker/netns/ca0890321dc6", | |
| "SecondaryIPAddresses": null, | |
| "SecondaryIPv6Addresses": null | |
| }, | |
| "Path": "/docker-entrypoint.sh", | |
| "Platform": "linux", | |
| "ProcessLabel": "", | |
| "ResolvConfPath": "/var/lib/docker/containers/3eb85ccc96c7a49408258838c189ce4bdae10a8b8559e2b72e36a91d7def91a3/resolv.conf", | |
| "RestartCount": 0, | |
| "State": { | |
| "Dead": false, | |
| "Error": "", | |
| "ExitCode": 0, | |
| "FinishedAt": "0001-01-01T00:00:00Z", | |
| "OOMKilled": false, | |
| "Paused": false, | |
| "Pid": 3934637, | |
| "Restarting": false, | |
| "Running": true, | |
| "StartedAt": "2020-09-28T09:24:00.967426064Z", | |
| "Status": "running" | |
| } | |
| }, | |
| "invocation": { | |
| "module_args": { | |
| "api_version": "auto", | |
| "auto_remove": false, | |
| "blkio_weight": null, | |
| "ca_cert": null, | |
| "cap_drop": null, | |
| "capabilities": null, | |
| "cleanup": false, | |
| "client_cert": null, | |
| "client_key": null, | |
| "command": null, | |
| "comparisons": { | |
| "*": "strict" | |
| }, | |
| "cpu_period": null, | |
| "cpu_quota": null, | |
| "cpu_shares": null, | |
| "cpuset_cpus": null, | |
| "cpuset_mems": null, | |
| "debug": false, | |
| "detach": true, | |
| "device_read_bps": null, | |
| "device_read_iops": null, | |
| "device_write_bps": null, | |
| "device_write_iops": null, | |
| "devices": null, | |
| "dns_opts": null, | |
| "dns_search_domains": null, | |
| "dns_servers": null, | |
| "docker_host": "unix://var/run/docker.sock", | |
| "domainname": null, | |
| "entrypoint": null, | |
| "env": null, | |
| "env_file": null, | |
| "etc_hosts": null, | |
| "exposed_ports": null, | |
| "force_kill": false, | |
| "groups": null, | |
| "healthcheck": null, | |
| "hostname": null, | |
| "ignore_image": false, | |
| "image": "nginx:latest", | |
| "init": false, | |
| "interactive": false, | |
| "ipc_mode": null, | |
| "keep_volumes": true, | |
| "kernel_memory": null, | |
| "kill_signal": null, | |
| "labels": null, | |
| "links": null, | |
| "log_driver": null, | |
| "log_options": null, | |
| "mac_address": null, | |
| "memory": "0", | |
| "memory_reservation": null, | |
| "memory_swap": null, | |
| "memory_swappiness": null, | |
| "mounts": null, | |
| "name": "nginx", | |
| "network_mode": null, | |
| "networks": null, | |
| "networks_cli_compatible": null, | |
| "oom_killer": null, | |
| "oom_score_adj": null, | |
| "output_logs": false, | |
| "paused": false, | |
| "pid_mode": null, | |
| "pids_limit": null, | |
| "privileged": false, | |
| "published_ports": [], | |
| "pull": false, | |
| "purge_networks": false, | |
| "read_only": false, | |
| "recreate": false, | |
| "restart": false, | |
| "restart_policy": null, | |
| "restart_retries": null, | |
| "runtime": null, | |
| "security_opts": null, | |
| "shm_size": null, | |
| "ssl_version": null, | |
| "state": "started", | |
| "stop_signal": null, | |
| "stop_timeout": null, | |
| "sysctls": null, | |
| "timeout": 60, | |
| "tls": false, | |
| "tls_hostname": "localhost", | |
| "tmpfs": null, | |
| "trust_image_content": false, | |
| "tty": false, | |
| "ulimits": null, | |
| "user": null, | |
| "userns_mode": null, | |
| "uts": null, | |
| "validate_certs": false, | |
| "volume_driver": null, | |
| "volumes": null, | |
| "volumes_from": null, | |
| "working_dir": null | |
| } | |
| } | |
| } | |
| META: ran handlers | |
| META: ran handlers | |
| PLAY RECAP ***************************************************************************************************************************** | |
| localhost : ok=3 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 | |
| ╭─ husjon in /tmp/testing | |
| ╰─(ノ˚Д˚)ノ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment