024a3ee551
When running molecule jobs, we saw the folloing warning message: [DEPRECATION WARNING]: [defaults]callback_whitelist option, normalizing names to new standard, use callbacks_enabled instead. This feature will be removed from ansible-core in version 2.15. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. callbacks_enabled has been added since Ansible 2.11 and Kubespray is using Ansible 2.12 at master branch. So we can use callbacks_enabled safely to avoid the warning message.
45 lines
769 B
YAML
45 lines
769 B
YAML
---
|
|
driver:
|
|
name: vagrant
|
|
provider:
|
|
name: libvirt
|
|
options:
|
|
driver: kvm
|
|
lint: |
|
|
set -e
|
|
yamllint -c ../../../.yamllint .
|
|
platforms:
|
|
- name: ubuntu18
|
|
box: generic/ubuntu1804
|
|
cpus: 1
|
|
memory: 1024
|
|
nested: true
|
|
groups:
|
|
- kube_control_plane
|
|
- name: ubuntu20
|
|
box: generic/ubuntu2004
|
|
cpus: 1
|
|
memory: 1024
|
|
nested: true
|
|
groups:
|
|
- kube_control_plane
|
|
provisioner:
|
|
name: ansible
|
|
env:
|
|
ANSIBLE_ROLES_PATH: ../../../../
|
|
config_options:
|
|
defaults:
|
|
callbacks_enabled: profile_tasks
|
|
timeout: 120
|
|
lint:
|
|
name: ansible-lint
|
|
options:
|
|
c: ../../../.ansible-lint
|
|
inventory:
|
|
group_vars:
|
|
all:
|
|
become: true
|
|
verifier:
|
|
name: testinfra
|
|
lint:
|
|
name: flake8
|