9 Commits

Author SHA1 Message Date
Mark Goddard
d8fe45b3d8 Tag all (well, some of) the things (plays)
Having tagged plays allows us to easily run a subset of the plays for a
command, and perform targeted operations with less risk of unintended
consequences.

The tags are typically named after the playbook, although some of the
overcloud playbooks have been tagged without an overcloud- prefix.
2017-12-19 16:58:21 +00:00
Mark Goddard
7f767b1b4e Convert variable to bool in group_by
We use the group_by module to create groups based on host variables.
When the variable is a boolean, we should convert it to a bool using the
bool filter, to ensure that the group name has a consistent format.
2017-11-24 15:34:54 +00:00
Mark Goddard
c33d2a4e0e Don't run baremetal compute tasks when ironic is disabled
This includes:
* Building and registering IPA images
* Registering a provisioning network
* Registering ironic inspector introspection rules
* Creating an inspection store container
2017-11-13 19:15:48 +00:00
Mark Goddard
ca284aea06 Fix ansible warnings for when clauses with curly braces 2017-10-20 12:14:35 +01:00
Mark Goddard
2529d207ed Fix some 'issues' raised by ansible-lint 2017-09-14 14:43:42 +01:00
Mark Goddard
19ceec45cd Use virtualenv_path for all virtualenvs 2017-08-07 12:08:08 +00:00
Mark Goddard
4c9a6da3f1 Support interface name map for Dell LLDP switch port workaround
The current implementation only works if all compute nodes in the system
have the same interface name for their provisioning network. This change
adds a default value and a map for exceptions
2017-06-15 14:52:23 +01:00
Mark Goddard
cd306f4cf3 Add validation of OpenStack auth parameters 2017-04-05 11:23:44 +01:00
Mark Goddard
aa6e2e2514 Add inspector rules to workaround Dell switch LLDP issues
Some Dell switch OSs (including Dell Network OS 9.10(0.1)) do not support
sending interface port description TLVs correctly. Instead of sending the
interface description, they send the interface name (e.g. TenGigabitEthernet
1/1/1). This breaks the discovery process which relies on Ironic node
introspection data containing the node's name in the interface port
description. We work around this here by creating an introspection rule for
each ironic node that matches against the switch system and the relevant
interface name, then sets the node's name appropriately.
2017-03-27 16:26:45 +01:00