f091b1cfd7
* Run 0100-dhclient-hooks if dhcpclient is enabled (#8658) If running Kubespray on static IP environments, a task was failed like: TASK [kubernetes/preinstall : Configure dhclient hooks for resolv.conf (RH-only)] fatal: [ak8s2]: FAILED! => { "changed": false, "checksum": "..", "msg": "Destination directory /etc/dhcp/dhclient.d does not exist"} This adds a check for dhclientconffile for running 0100-dhclient-hooks to run the task only if dhcpclient is enabled. * Remove centos7 molecule while opensuse mirror is flaky Co-authored-by: Florian Ruynat <16313165+floryut@users.noreply.github.com>
43 lines
756 B
YAML
43 lines
756 B
YAML
---
|
|
driver:
|
|
name: vagrant
|
|
provider:
|
|
name: libvirt
|
|
lint: |
|
|
set -e
|
|
yamllint -c ../../../.yamllint .
|
|
platforms:
|
|
- name: ubuntu1804
|
|
box: generic/ubuntu1804
|
|
cpus: 2
|
|
memory: 1024
|
|
groups:
|
|
- kube_control_plane
|
|
- name: almalinux8
|
|
box: almalinux/8
|
|
cpus: 2
|
|
memory: 1024
|
|
groups:
|
|
- kube_control_plane
|
|
- name: fedora
|
|
box: fedora/35-cloud-base
|
|
cpus: 2
|
|
memory: 1024
|
|
groups:
|
|
- kube_control_plane
|
|
provisioner:
|
|
name: ansible
|
|
env:
|
|
ANSIBLE_ROLES_PATH: ../../../../
|
|
config_options:
|
|
defaults:
|
|
callback_whitelist: profile_tasks
|
|
timeout: 120
|
|
lint:
|
|
name: ansible-lint
|
|
options:
|
|
c: ../../../.ansible-lint
|
|
verifier:
|
|
name: testinfra
|
|
lint:
|
|
name: flake8
|