Merge "Add test for container specific extra network interface"
This commit is contained in:
commit
0046ccb266
|
@ -12,3 +12,9 @@ container_networks:
|
|||
address: "{{ ansible_host }}"
|
||||
netmask: "255.255.255.0"
|
||||
bridge: "br-mgmt"
|
||||
|
||||
container_extra_networks:
|
||||
extra_address:
|
||||
address: "172.29.254.103"
|
||||
netmask: "255.255.255.0"
|
||||
bridge: "br-extra"
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
|
||||
bridges:
|
||||
- "br-mgmt"
|
||||
- "br-extra"
|
||||
|
||||
ansible_python_interpreter: "/usr/bin/python2"
|
||||
|
||||
|
@ -25,3 +26,10 @@ container_networks:
|
|||
address: "172.29.236.100"
|
||||
netmask: "255.255.255.0"
|
||||
bridge: "br-mgmt"
|
||||
|
||||
container_extra_networks:
|
||||
extra_address:
|
||||
address: "172.29.254.100"
|
||||
netmask: "255.255.255.0"
|
||||
private_device: true
|
||||
bridge: "br-extra"
|
||||
|
|
|
@ -39,3 +39,13 @@
|
|||
with_items: "{{ groups['all_containers'] }}"
|
||||
tags:
|
||||
- skip_ansible_lint
|
||||
|
||||
- name: Test connectivity to container specific extra address
|
||||
command: ping -c 1 172.29.254.100
|
||||
register: machinectl_ping
|
||||
retries: 3
|
||||
delay: 5
|
||||
until: machinectl_ping is success
|
||||
delegate_to: container3
|
||||
tags:
|
||||
- skip_ansible_lint
|
||||
|
|
Loading…
Reference in New Issue