From 215f30ad5dab531a42f4f33c144b913c4ab713ec Mon Sep 17 00:00:00 2001 From: Julia Kreger Date: Thu, 10 Aug 2017 11:35:00 +0000 Subject: [PATCH] Minor reno fixes Change-Id: I3f6853bcfb41f0675a154190d1b761a227d3037b --- releasenotes/notes/ansible-virt-0759a857daaacccf.yaml | 5 +++-- ...upport-custom-ansible-groups-38ad5d3a930b17eb.yaml | 11 ++++++----- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/releasenotes/notes/ansible-virt-0759a857daaacccf.yaml b/releasenotes/notes/ansible-virt-0759a857daaacccf.yaml index 237884af7..43a75524b 100644 --- a/releasenotes/notes/ansible-virt-0759a857daaacccf.yaml +++ b/releasenotes/notes/ansible-virt-0759a857daaacccf.yaml @@ -1,12 +1,13 @@ --- features: - | - ``bifrost-create-vm-nodes`` role now uses Ansible's virt modules to - create virtual machines for bifrost testing. + Changes the ``bifrost-create-vm-nodes`` role to use Ansible's virt + modules to create virtual machines for bifrost testing. This supersedes the embedded bash script to create virtual machines. 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 Ansible means. + For backward compatibility, some of the variables still support the use of shell variables, but this is deprecated and should be avoided. deprecations: diff --git a/releasenotes/notes/support-custom-ansible-groups-38ad5d3a930b17eb.yaml b/releasenotes/notes/support-custom-ansible-groups-38ad5d3a930b17eb.yaml index 9ded96bae..b121b7aef 100644 --- a/releasenotes/notes/support-custom-ansible-groups-38ad5d3a930b17eb.yaml +++ b/releasenotes/notes/support-custom-ansible-groups-38ad5d3a930b17eb.yaml @@ -5,9 +5,10 @@ features: groups for all the hosts that make use of the dynamic JSON inventory. The way to do that is to simply define a list of groups in the `host_group` property as illustrated - in the following example:: + in the following example: .. code-block:: yaml + "node1": { "uuid": "a8cb6624-0d9f-c882-affc-046ebb96ec01", "host_groups": [ @@ -20,19 +21,19 @@ features: the per-VM inventory groups by setting the ``test_vm_host_groups`` 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 for virtual machines by simply setting the ``host_default_group`` 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 ``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 the currently [baremetal] default. Extra care should be taken when