tripleo-validations/playbooks/switch-vlans.yaml
Cédric Jeanneret 14411dcb6a
Replace all references to the old role name
This change replaces all of the roles references in our various files with the
new role name. This is being done because Ansible no longer allows hyphens in
role names.

TODO: (gchamoul) Remove healthcheck-service-status once this patch is
merged. Tripleo Jobs are RED due to THT trying to execute this
validation as inflight one but it has been renamed healthcheck_service_status.

Co-Authored-by: Gael Chamoulaud <gchamoul@redhat.com>
Change-Id: I19bb587ece403f86ddd0bbe174c282326500cfd3
(cherry picked from commit ceb0f75182)
2020-02-10 14:51:12 +01:00

19 lines
806 B
YAML

---
- hosts: undercloud
vars:
metadata:
name: Compare switch port VLANs to VLANs in nic config
description: >
LLDP data received during introspection contains the configured VLANs
for each switch port attached to the nodes interfaces. Compare the
VLAN IDs set on the switch port to those configured in nic config
files. Since the mapping of roles to nodes isn't known prior to
deployment, this check can only check VLANs across all switch ports,
not on a particular switch port.
groups:
- pre-deployment
network_environment_path: environments/network-environment.yaml
ironic_inspector_conf_file: "/var/lib/config-data/puppet-generated/ironic_inspector/etc/ironic-inspector/inspector.conf"
roles:
- switch_vlans