Commit Graph

49 Commits (5de3dbbf6d47ef156c2e14a4c81f3d756bf19732)

Author SHA1 Message Date
TimothyVandenbrande 0b135aa6da This is an ansible module to control/create/adapt/remove VMs on a RHEV/oVirt environment. (#2202) 2016-12-08 11:34:44 -05:00
alxsey 0bfaf34286 Implement template storage selection (#2755) 2016-12-08 11:34:44 -05:00
Shinichi TAMURA a3860ecf1e Allow value to be bool where 'yes'/'no' are in choices (#2593)
* Changed type of 'details' argument to bool on ecs_service_facts module.

* Changed type of 'autostart' argument to bool on virt_* modules.

* Changed types of 'autoconnect' and 'stp' argument to bool on nmcli module.
('create_connection_bridge(self)' and 'modify_connection_bridge(self)' are not implemented yet?)

* Added conversion of 'value' argument when 'vtype' is boolean on debconf module.
2016-12-08 11:34:41 -05:00
Brian Coca edcac217f5 make sure nic is always defined (#2678) 2016-12-08 11:34:38 -05:00
Baptiste Mille-Mathias e235f88a91 Implement mounts in proxmox module (#2426)
* Implement mounts in proxmox module

mounts in proxmox are the additionnal disk devices set in a guests.
We handle the mounts the same way that netif devices, using a
dictionnary with keys being mp0, mp1,…

* Add version_added

Seems to be a requirement but I didn't see that anywhere.
Hope it'll fix the travis-ci issue
2016-12-08 11:34:24 -05:00
sxpert 8e4e0dab63 Virt net mods batch 1 (#1686)
* add a new modify command

for now, allows adding or modifying hosts in the dhcp subsystem

* fix some pep8 things that escaped

* add modify in the list in the doc

* added mention of adding modify in version 2.1

* handle the test mode case for modify

* modify the code for finer check mode support
2016-12-08 11:34:22 -05:00
Nik LaBelle 3ecf8dc12b change netif type to dict and update example (#2187) 2016-12-08 11:34:13 -05:00
Michael Scherer 2ec17e4614 Add partial doc on return value of virt (#2116) 2016-12-08 11:34:10 -05:00
Joshua Gilman c0a677aa3a Change disk type to str to allow correct usage of rootfs for LXC (#2091) 2016-12-08 11:34:09 -05:00
Adrià Galín Figueras d802e00417 Fixed netif params when create lxc container (#2064) 2016-12-08 11:34:09 -05:00
Karim Boumedhel e57ef71ed3 Add cloudinit support to ovirt.py module 2016-12-08 11:34:06 -05:00
Michael Scherer 567bcf1341 Do not leak password by error for ovirt module (#1991) 2016-12-08 11:34:06 -05:00
liquidat 87bc5fcb24 remove legacy action style from examples
- "action" style invoking is a legacy way to call modules
- the examples were updated to the typical style of calling complex
  modules:

ovirt:
  parameter1: value1
  parameter2: value2
  ...
2016-12-08 11:33:53 -05:00
Alex Kalinin 126f8b709f Fix opening libvirt esx connection 2016-12-08 11:33:49 -05:00
Baptiste Mille-Mathias 06b3d39076 fix typo
conainerization => containerization
2016-12-08 11:33:46 -05:00
Brian Coca a57da4e329 added version info on autodetection feature 2016-12-08 11:33:43 -05:00
Łukasz Proszek d2f060f278 add lxc support, without dropping openvz 2016-12-08 11:33:43 -05:00
Michael Scherer df195b3076 Replace choices=BOOLEANS by type='bool', fix #1326 2016-12-08 11:33:40 -05:00
Matt Martz 7cb0d86c27 sys.exit removal for cloud/misc/ovirt.py 2016-12-08 11:33:25 -05:00
Maciej Delmanowski 8e3da4212b Update author information in virt_pool docs 2016-12-08 11:33:04 -05:00
Maciej Delmanowski c5c69ca1e7 Update author information in virt_net docs 2016-12-08 11:33:04 -05:00
Maciej Delmanowski 6c4f50a2ea Remove unused parameter from method arguments 2016-12-08 11:33:04 -05:00
Maciej Delmanowski b42bc91258 Add whitespace so diff with 'virt_pool' is easier 2016-12-08 11:33:04 -05:00
Maciej Delmanowski e1084e5caa Rewrite method to not use try/except
Additional checks are not needed, because 'self.conn.get_entry(-1)'
returns all existing entries, each one should have state defined.
2016-12-08 11:33:04 -05:00
Maciej Delmanowski 1f65953090 Rewrite for loops in a more Pythonic style 2016-12-08 11:33:04 -05:00
Maciej Delmanowski 2fde14aaf1 Remove separate check for Xen
Module checked for Xen-based system, however since 'xen:///' URI support
exists in 'libvirt', we should use it explicitly instead.
2016-12-08 11:33:04 -05:00
Maciej Delmanowski 8a1abfdd92 libvirt: virt_net module
This module manages network configuration in libvirt.
2016-12-08 11:33:04 -05:00
Maciej Delmanowski 7e3787dd11 libvirt: virt_pool module
This module manages storage pool configuration in libvirt.
2016-12-08 11:33:04 -05:00
Maciej Delmanowski 1b6980b086 virt: remove BabyJSON
Removed the usage of baby json. This is in response to the fact
that the baby json functionality was removed in Ansible 1.8

Ref: #430
2016-12-08 11:33:00 -05:00
Greg DeKoenigsberg c65a612d1f Changes to author formatting, remove emails 2016-12-08 11:32:51 -05:00
Sergei Antipov 89e13e2ae8 proxmox | changed https_verify_ssl to to validate_certs and added forgotten return 2016-12-08 11:32:47 -05:00
Sergei Antipov 73cfe2f3c7 proxmox_template | deleted state=list and changed default timeout to 30 2016-12-08 11:32:47 -05:00
Sergei Antipov 9491bb138d proxmox_template | changed http_verify_ssl to validate_certs 2016-12-08 11:32:47 -05:00
Sergei Antipov 79cee59b5b proxmox_template | fixed problem with uploading 2016-12-08 11:32:47 -05:00
Sergei Antipov 3615776422 Added proxmox_template module 2016-12-08 11:32:47 -05:00
Sergei Antipov 1e70526186 Added examples 2016-12-08 11:32:43 -05:00
Rene Moser bdab9a86d5 proxmox: prevent to log passwords 2016-12-08 11:32:43 -05:00
Rene Moser 7fee01bb0e proxmox: update module doc 2016-12-08 11:32:43 -05:00
Toshio Kuratomi c9f08eca86 Add version_added dodmentation 2016-12-08 11:32:42 -05:00
Sergei Antipov f517de938c Deleted debugging 2016-12-08 11:32:42 -05:00
Sergei Antipov 56918df8a4 Added documentation 2016-12-08 11:32:42 -05:00
Sergei Antipov cfd61d391a Added conditionals, umount, forceStop, timeout, etc 2016-12-08 11:32:42 -05:00
Sergei Antipov a121420d99 Initial commit of Proxmox module 2016-12-08 11:32:42 -05:00
Brian Coca a7b46316c1 removed executable bit 2016-12-08 11:32:42 -05:00
Toshio Kuratomi 4f07e8b256 Many more doc fixes 2016-12-08 11:32:40 -05:00
Brian Coca d344a3fde3 more string corrections 2016-12-08 11:32:39 -05:00
Greg DeKoenigsberg 4e5e63ca02 Update virt.py 2016-12-08 11:32:38 -05:00
Toshio Kuratomi 43687f1940 Update module documentation if modules have a dep on python2.6+ 2016-12-08 11:32:36 -05:00
Michael DeHaan cf622a7299 Categorize some modules. 2016-12-08 11:32:19 -05:00