Commit graph

55 commits

Author SHA1 Message Date
Baptiste Mille-Mathias
6cb6829384 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-06-17 14:50:15 +02:00
sxpert
a82e991453 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-06-13 17:22:10 +02:00
Nik LaBelle
bb965eebee change netif type to dict and update example (#2187) 2016-05-09 13:00:05 +02:00
Michael Scherer
95018b5fe8 Add partial doc on return value of virt (#2116) 2016-04-27 10:47:44 -04:00
Joshua Gilman
e4a4259bc2 Change disk type to str to allow correct usage of rootfs for LXC (#2091) 2016-04-25 13:18:24 +02:00
Adrià Galín Figueras
014297b868 Fixed netif params when create lxc container (#2064) 2016-04-25 08:09:51 +02:00
Karim Boumedhel
a61742e070 Add cloudinit support to ovirt.py module 2016-04-15 20:23:37 +02:00
Michael Scherer
8e7051ad9d Do not leak password by error for ovirt module (#1991) 2016-04-15 10:27:47 -04:00
liquidat
0cdd66fa23 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-03-10 15:14:27 +01:00
Alex Kalinin
bba1dac0f0 Fix opening libvirt esx connection 2016-02-10 18:52:08 -08:00
Baptiste Mille-Mathias
a11220228c fix typo
conainerization => containerization
2016-01-31 20:05:45 +01:00
Brian Coca
aa95a81005 added version info on autodetection feature 2016-01-11 18:58:49 -05:00
Brian Coca
c0922d4d32 Merge pull request #1146 from frogu/proxmox_lxc_support
add lxc support, without dropping openvz
2016-01-11 18:54:08 -05:00
Michael Scherer
2f3dc1352f Replace choices=BOOLEANS by type='bool', fix #1326 2015-12-21 23:39:20 +01:00
Łukasz Proszek
a30a1eef86 add lxc support, without dropping openvz 2015-10-23 00:35:41 +02:00
Matt Martz
55dab7cd1b sys.exit removal for cloud/misc/ovirt.py 2015-10-05 13:22:43 -05:00
Brian Coca
a6e0fcaf6c Merge pull request #776 from drybjed/update-virt_pool
Update author information in virt_pool docs
2015-07-27 22:42:26 -04:00
Brian Coca
0bdeb9ee47 Merge pull request #757 from drybjed/virt_net
libvirt: virt_net module
2015-07-27 18:53:40 -04:00
Maciej Delmanowski
375b2234b1 Update author information in virt_pool docs 2015-07-28 00:22:51 +02:00
Maciej Delmanowski
2af729944a Update author information in virt_net docs 2015-07-28 00:21:27 +02:00
Maciej Delmanowski
c011923e3b Remove unused parameter from method arguments 2015-07-25 18:23:39 +02:00
Maciej Delmanowski
39b635ae79 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.
2015-07-25 18:23:01 +02:00
Maciej Delmanowski
d8b6dd5927 Rewrite for loops in a more Pythonic style 2015-07-25 18:22:31 +02:00
Maciej Delmanowski
055a31ba07 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.
2015-07-25 18:21:10 +02:00
Maciej Delmanowski
13e51060ec Remove unused parameter from method arguments 2015-07-25 18:18:39 +02:00
Maciej Delmanowski
2b15b0564c Add whitespace so diff with 'virt_pool' is easier 2015-07-25 18:18:00 +02:00
Maciej Delmanowski
dc92f0af4c 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.
2015-07-25 18:15:23 +02:00
Maciej Delmanowski
00e7e225ce Rewrite for loops in a more Pythonic style 2015-07-25 18:14:03 +02:00
Maciej Delmanowski
8b2cc4f7bb 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.
2015-07-25 18:11:52 +02:00
Maciej Delmanowski
0da9254537 libvirt: virt_net module
This module manages network configuration in libvirt.
2015-07-24 08:43:49 +02:00
Maciej Delmanowski
1fd1460d2f libvirt: virt_pool module
This module manages storage pool configuration in libvirt.
2015-07-24 08:42:03 +02:00
Maciej Delmanowski
ebb9125567 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
2015-07-18 13:54:30 +02:00
Greg DeKoenigsberg
004dedba8a Changes to author formatting, remove emails 2015-06-16 14:32:39 -04:00
Sergei Antipov
35853a3d70 proxmox | changed https_verify_ssl to to validate_certs and added
forgotten return
2015-06-16 11:33:14 -04:00
Sergei Antipov
5f916ac4e3 proxmox_template | deleted state=list and changed default timeout to 30 2015-06-16 11:33:14 -04:00
Sergei Antipov
e1c8cdc39d proxmox_template | changed http_verify_ssl to validate_certs 2015-06-16 11:33:14 -04:00
Sergei Antipov
08a9096c75 proxmox_template | fixed problem with uploading 2015-06-16 11:33:14 -04:00
Sergei Antipov
078dc8b205 Added proxmox_template module 2015-06-16 11:33:13 -04:00
Brian Coca
a07fc88ba0 Merge pull request #531 from UnderGreen/proxmox_module_examples
Proxmox VE module examples
2015-05-26 11:35:16 -04:00
Rene Moser
e72f581a16 proxmox: prevent to log passwords 2015-05-26 13:53:28 +02:00
Rene Moser
148bd52d8b proxmox: update module doc 2015-05-26 13:52:47 +02:00
Sergei Antipov
ed6283d422 Added examples 2015-05-26 11:38:57 +06:00
Toshio Kuratomi
8dfa63d1d8 Add version_added dodmentation 2015-05-25 09:35:11 -07:00
Brian Coca
47c74936c1 Merge pull request #530 from UnderGreen/proxmox_module
Proxmox VE module
2015-05-25 10:30:24 -04:00
Sergei Antipov
69d3474bcc Deleted debugging 2015-05-25 19:11:08 +06:00
Sergei Antipov
cb09a26900 Added documentation 2015-05-25 19:10:34 +06:00
Sergei Antipov
323df26b3e Added conditionals, umount, forceStop, timeout, etc 2015-05-25 18:26:45 +06:00
Brian Coca
5187c7fcd7 removed executable bit 2015-05-21 07:03:49 -04:00
Toshio Kuratomi
88eff11c04 Many more doc fixes 2015-05-15 12:12:26 -07:00
Sergei Antipov
a057cb2482 Initial commit of Proxmox module 2015-05-15 17:32:24 +06:00