Module - check_flavors

This module provides for the following ansible plugin:

  • check_flavors

Module Documentation

Validate that the flavors assigned to roles exist and have the correct settings. Right now, that means that boot_option is unset or set to 'local', or if set to 'netboot', issue a warning.

Used by the collect_flavors_and_verify_profiles

Owned by the 'DFG Compute & DFG Hardware Provisioning'

Options

roles_info:

A list of role info

flavors:

A dictionary of flavors from Nova

Authors

:

Brad P. Crochet

Example Tasks

- hosts: undercloud
  tasks:
  - name: Check the flavors
    check_flavors:
      roles_info: "{{ lookup('roles_info', wantlist=True) }}"
      flavors: "{{ lookup('nova_flavors', wantlist=True) }}"