bifrost/playbooks/roles/bifrost-create-vm-nodes
Julia Kreger 3d5edac5b9 Minor cleanup of the VM creation playbook YAML
Change-Id: Ifa863877bf801f636f7a5ebacf49daa67334f1ac
2015-10-25 23:52:30 -04:00
..
defaults Allow Test VM RAM setting to be tunable 2015-09-08 17:18:57 -04:00
files Clean up text in playbooks, roles, and associated files 2015-09-11 14:23:54 -07:00
handlers Rearranging the repository 2015-04-16 15:22:30 -04:00
meta Cleanup role meta definitions 2015-08-25 19:41:29 -04:00
tasks Minor cleanup of the VM creation playbook YAML 2015-10-25 23:52:30 -04:00
vars Rearranging the repository 2015-04-16 15:22:30 -04:00
README.md Migrate playbooks to use 'become' 2015-10-15 07:32:05 -07:00

bifrost-create-vm-nodes

This role creates virtual machines for testing bifrost.

Requirements

The following packages are required and ensured to be present:

  • libvirt-bin
  • qemu-utils
  • qemu-kvm
  • sgabios

Role Variables

baremetal_csv_file: "/tmp/baremetal.csv"

test_vm_memory_size: Tunable setting to allow a user to define a specific amount of RAM in MB to allocate to guest/test VMs. Defaults to "3072". Note: if this setting is modified between test runs, you may need to undefine the test virtual machine(s) that were previously created.

Dependencies

None at this time.

Example Playbook

  • hosts: localhost connection: local become: yes gather_facts: yes roles:
    • role: bifrost-create-vm-nodes

License

Copyright (c) 2015 Hewlett-Packard Development Company, L.P.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Author Information

Ironic Developers