CI: Changing docker network driver in molecule
Setting network mode to host. Enables testing without additional configuration of the host. Change-Id: I46406d414290ed785a4644c88cbc76ff074e96a2
This commit is contained in:
parent
9836fa7e6c
commit
9146fdbc41
@ -29,6 +29,7 @@
|
||||
build:
|
||||
path: "{{ molecule_ephemeral_directory }}"
|
||||
dockerfile: "{{ item.item.dockerfile | default(item.invocation.module_args.dest) }}"
|
||||
network: host
|
||||
force_source: "{{ item.item.force | default(true) }}"
|
||||
force_tag: "{{ item.item.force | default(true) }}"
|
||||
with_items: "{{ platforms.results }}"
|
||||
|
@ -10,6 +10,7 @@ lint: |
|
||||
platforms:
|
||||
- name: centos-stream8
|
||||
image: quay.io/centos/centos:stream8
|
||||
network_mode: host
|
||||
provisioner:
|
||||
name: ansible
|
||||
lint:
|
||||
|
@ -30,6 +30,7 @@
|
||||
build:
|
||||
path: "{{ molecule_ephemeral_directory }}"
|
||||
dockerfile: "{{ item.item.dockerfile | default(item.invocation.module_args.dest) }}"
|
||||
network: host
|
||||
force_source: "{{ item.item.force | default(true) }}"
|
||||
force_tag: "{{ item.item.force | default(true) }}"
|
||||
with_items: "{{ platforms.results }}"
|
||||
|
@ -10,6 +10,7 @@ lint: |
|
||||
platforms:
|
||||
- name: centos-stream8
|
||||
image: quay.io/centos/centos:stream8
|
||||
network_mode: host
|
||||
provisioner:
|
||||
name: ansible
|
||||
inventory:
|
||||
|
Loading…
Reference in New Issue
Block a user