This module provides for the following ansible plugin:
- verify_profiles
Validate that the profiles assigned have enough nodes available.
nodes: | A list of nodes |
---|---|
flavors: | A dictionary of flavors |
: | Brad P. Crochet |
---|
- hosts: undercloud
tasks:
- check_flavors:
flavors: '{{ lookup(''nova_flavors'', wantlist=True) }}'
roles_info: '{{ lookup(''roles_info'', wantlist=True) }}'
name: Collect the flavors
register: flavor_result
- name: Check the profiles
verify_profiles:
flavors: flavor_result.flavors
nodes: '{{ lookup(''ironic_nodes'', wantlist=True) }}'
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.