Minor reno fixes
Change-Id: I3f6853bcfb41f0675a154190d1b761a227d3037b
This commit is contained in:
parent
f1f0b3153e
commit
215f30ad5d
@ -1,12 +1,13 @@
|
|||||||
---
|
---
|
||||||
features:
|
features:
|
||||||
- |
|
- |
|
||||||
``bifrost-create-vm-nodes`` role now uses Ansible's virt modules to
|
Changes the ``bifrost-create-vm-nodes`` role to use Ansible's virt
|
||||||
create virtual machines for bifrost testing.
|
modules to create virtual machines for bifrost testing.
|
||||||
This supersedes the embedded bash script to create virtual machines.
|
This supersedes the embedded bash script to create virtual machines.
|
||||||
As a result, all variables that were present in the bash script are
|
As a result, all variables that were present in the bash script are
|
||||||
now available as default role variables and can be overridden by standard
|
now available as default role variables and can be overridden by standard
|
||||||
Ansible means.
|
Ansible means.
|
||||||
|
|
||||||
For backward compatibility, some of the variables still support the
|
For backward compatibility, some of the variables still support the
|
||||||
use of shell variables, but this is deprecated and should be avoided.
|
use of shell variables, but this is deprecated and should be avoided.
|
||||||
deprecations:
|
deprecations:
|
||||||
|
@ -5,9 +5,10 @@ features:
|
|||||||
groups for all the hosts that make use of the dynamic JSON
|
groups for all the hosts that make use of the dynamic JSON
|
||||||
inventory. The way to do that is to simply define a
|
inventory. The way to do that is to simply define a
|
||||||
list of groups in the `host_group` property as illustrated
|
list of groups in the `host_group` property as illustrated
|
||||||
in the following example::
|
in the following example:
|
||||||
|
|
||||||
.. code-block:: yaml
|
.. code-block:: yaml
|
||||||
|
|
||||||
"node1": {
|
"node1": {
|
||||||
"uuid": "a8cb6624-0d9f-c882-affc-046ebb96ec01",
|
"uuid": "a8cb6624-0d9f-c882-affc-046ebb96ec01",
|
||||||
"host_groups": [
|
"host_groups": [
|
||||||
@ -20,19 +21,19 @@ features:
|
|||||||
the per-VM inventory groups by setting the ``test_vm_host_groups``
|
the per-VM inventory groups by setting the ``test_vm_host_groups``
|
||||||
variable as follows::
|
variable as follows::
|
||||||
|
|
||||||
``{ test_vm_host_groups: { testhost: [nova, cinder] } }``
|
{ test_vm_host_groups: { testhost: [nova, cinder] } }
|
||||||
|
|
||||||
It is also possible to change the default ``baremetal`` group
|
It is also possible to change the default ``baremetal`` group
|
||||||
for virtual machines by simply setting the ``host_default_group``
|
for virtual machines by simply setting the ``host_default_group``
|
||||||
variable to a list of default groups as follows::
|
variable to a list of default groups as follows::
|
||||||
|
|
||||||
``{ test_vm_default_groups: [baremetal vms] }``
|
{ test_vm_default_groups: [baremetal vms] }
|
||||||
|
|
||||||
The list of default groups can also be set in the
|
The list of default groups can also be set in the
|
||||||
``DEFAULT_HOST_GROUPS`` environmental variable. This is currently
|
``DEFAULT_HOST_GROUPS`` environmental variable. This is currently
|
||||||
the only way to change the default group for baremetal hosts.
|
the only way to change the default group for baremetal hosts::
|
||||||
|
|
||||||
``export DEFAULT_HOST_GROUPS="foo bar zoo"``
|
export DEFAULT_HOST_GROUPS="foo bar zoo"
|
||||||
|
|
||||||
This will change the default groups to [foo, bar, zoo] instead of
|
This will change the default groups to [foo, bar, zoo] instead of
|
||||||
the currently [baremetal] default. Extra care should be taken when
|
the currently [baremetal] default. Extra care should be taken when
|
||||||
|
Loading…
x
Reference in New Issue
Block a user