openeuler-ci-bot 24c7fa05cd
!10 Change require from ansible-2.9 to ansible
From: @jxy_git 
Reviewed-by: @wm-wm-wm 
Signed-off-by: @wm-wm-wm
2023-05-30 03:21:50 +00:00
2020-04-16 11:42:31 +08:00
2020-04-16 11:42:31 +08:00

oVirt Virtual Machine Infrastructure

Description

The ovirt.vm-infra role manages the virtual machine infrastructure in oVirt. This role also creates inventory of created virtual machines it defines if wait_for_ip is set to true and state of virtual machine is running. All defined virtual machines are part of ovirt_vm inventory group. Role also creates ovirt_tag_{tag_name} groups if there are any tags assigned to a virtual machine and places all virtual machines with that tag to that inventory group.

Consider the following variable structure:

vms:
  - name: myvm1
    tag: mytag1
    profile: myprofile

  - name: myvm2
    tag: mytag2
    profile: myprofile

The role will create inventory group ovirt_vm with both of the virtual machines - myvm1 and myvm2. The role also creates inventory group ovirt_tag_mytag1 with virtual machine myvm1 and inventory group ovirt_tag_mytag2 with virtual machine myvm2.

Requirements

  • Ansible version 2.9 or higher
  • Python SDK version 4.3 or higher
  • python3-jmespath or python2-jmespath

Contribution

  1. Fork the repository
  2. Create Feat_xxx branch
  3. Commit your code
  4. Create Pull Request
Description
No description provided
Readme 56 KiB
Languages
RPM Spec 100%