Test external connectivity for containers
This test ensures containers have connectivity to external network. Change-Id: Ie85b1921726a72934c2fc8cc49ad93554091c9d7
This commit is contained in:
parent
e6022b3319
commit
cf2d0f6507
@ -47,3 +47,11 @@
|
||||
- "'/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games' in environment_content"
|
||||
- "'http_proxy=http://someproxy.example.com' in environment_content"
|
||||
- "'https_proxy=https://someproxy.example.com' in environment_content"
|
||||
- name: Test connectivity to external address
|
||||
shell: ping -c 3 8.8.8.8
|
||||
register: ping_external_address
|
||||
ignore_errors: true
|
||||
- name: Verify connectivity to external address
|
||||
assert:
|
||||
that:
|
||||
- ping_external_address.rc == 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user