Skip to content

Spybull/ovm_guest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

ovm_guest

ovm_guest Ansible-module

Import file

Import iso, ovf, ova files to repository

Example for import OVA file
Example for import ISO file

The module checks for the presence of an uploaded file in the repository; if this file is present, the download is ignored.
The check is done in the appExists function.
On ovm, the file will be located:

  • Repositories-> repo-> Assemblies (For older ovm 3.3 versions)
  • Repositories-> repo-> Virtual Appliances (For newer ovm 3.4 versions)

Creation Vm

Create virtual machine

Example for create VM

The parameter boot_order can take the following values:

  • CDROM
  • PXE
  • Disk

The parameter networks takes the value of ovm network objects.
For create two or more network cards you need to use the next format:

networks: ['ovm_network1', 'ovm_network2']
or

networks:
  - ovm_network1
  - ovm_network2

The parameter disks takes the following values:
0 - The name of the disk being created in the repository
1 - Disk size in GiB. In module - (disk_size * (2**30))
2 - Ovm repository

For create two or more disks you need to use the next format:
disks: [["vmdiskname-root", 30, "ovm_repository"]]
or

disks:
  - ["vmdiskname-root", 30, "ovm_repository"]
  - ["vmdiskname-u1", 50, "ovm_repository"]

The parameter map_disk is used for map iso disk.

Deleting Vm

Example for delete vm

Cloning Vm

Example for clone from template

Starting Vm

Example for start vm

Stopping Vm

Example for stop vm

Eject Disk

Example for ejecting disk

About

Ansible module for Oracle VM manager

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages