Xabi Ezpeleta
2bd15b1bf7
Get IP address via Qemu Agent (KVM)
2019-12-18 21:36:43 +01:00
Calogero Lo Leggio
54f4e51c50
grab PVE version without revision (ex: 6.0 not 6.0-7)
...
this avoid error with float()
2019-10-09 11:22:31 +02:00
adubreuiltk
6255b78e92
Filter on qemu and lxc resources only
...
# SUMMARY
When using proxmox.py as a dynamic inventory for Ansible, only VM and lxc must be included in the output. Other resources such as datastores must be excluded.
# ISSUE TYPE
Bugfix Pull Request
# ADDITIONAL INFORMATION
If a datastore is defined in a pool, the script crashes as the parameter template does not apply to datastore objects.
# VERSION
PVE 5.4.13
2019-08-31 11:10:23 +02:00
Xabi Ezpeleta
ba77d56258
Add a trailing slash to the proxmox url ( fixes #15 )
2019-03-15 09:48:13 +01:00
gardar
3499d2f7be
Fix python 2 and 3 compatibility
...
Changes to make the code compatible with both python 2 and 3, fixes #12
2019-03-14 22:22:41 +00:00
gardar
9ab21a9f0b
Python3 compatibility
...
Changes required for python 3
2019-01-13 00:59:26 +00:00
Andor Uhlár
dadf7262fb
Handle cases where node is unavailable
2018-07-06 19:01:28 +02:00
Eriks Zelenka
cda6dae03b
Add backwards compatability with python 2.6 format requirements
2017-04-08 18:08:30 +01:00
Niccolò Maggioni
90d75824b7
PEP8 compliance
...
I seriously hope I didn't fuck something up.
2017-03-17 12:26:46 +01:00
Niccolò Maggioni
9c9c2f51ab
Coherence of certificate trust option naming
2017-03-17 12:08:46 +01:00
Niccolò Maggioni
095af19246
Global support for configuration file
...
CLI flags have precedence, followed by env variables and finally config keys.
2017-03-17 11:53:58 +01:00
Niccolò Maggioni
93d8723b98
Improved handling of partially missing parameters
2017-03-17 11:50:31 +01:00
Niccolò Maggioni
b23d4751e1
Support for JSON configuration file
2017-03-17 10:59:39 +01:00
Eriks Zelenka
ba35cdc297
Add backwards compatability with openvz on Proxmox ver3
2017-03-05 18:51:30 +00:00
Xabi
51f882f81c
Modified Proxmox inventory
2016-11-22 16:12:25 +01:00