Module - node_disks¶
This module provides for the following ansible plugin:
node_disks
Module Documentation¶
Check if each node has a root device hint set if there is more than one disk and compare flavors to disk sizes.
Used by the 'node_disks' validation.
Options¶
- nodes:
A list of nodes
- flavors:
A list of flavors
- introspection_data:
Introspection data for all nodes
Authors¶
- :
Florian Fuchs <flfuchs@redhat.com>
Example Tasks¶
- hosts: undercloud
tasks:
- name: Check node disks
node_disks:
nodes: "{{ lookup('ironic_nodes') }}"
flavors: "{{ lookup('nova_flavors') }}"
introspection_data: "{{ lookup('introspection_data', auth_url=auth_url.value,\
\ password=password.value) }}"