Commit Graph

41 Commits

Author SHA1 Message Date
Xabi Ezpeleta 3eef05088a Update changelog 2020-02-03 12:11:41 +01:00
Xabi Ezpeleta 02cce4d567 Add error handling
Check network is a valid object
2020-02-03 12:08:50 +01:00
Xabi Ezpeleta e05f224c8c Get IP address from Proxmox (OpenVZ) 2019-12-18 22:56:48 +01:00
Xabi Ezpeleta 2bd15b1bf7 Get IP address via Qemu Agent (KVM) 2019-12-18 21:36:43 +01:00
Xabi d9541cc1c8
Merge pull request #18 from kalos/master
grab PVE version without revision (ex: 6.0 not 6.0-7)
2019-11-19 08:27:26 +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
Xabi 7c9db8416b
Changelog updated 2019-09-16 12:35:18 +02:00
Xabi 744dc160f0
Merge pull request #16 from adubreuiltk/patch-1
Filter on qemu and lxc resources only
2019-09-16 12:32:40 +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
Xabi 8c79997ef6
Merge pull request #11 from gardar/patch-1
Python3 compatibility
2019-01-25 13:30:46 +01:00
gardar 9ab21a9f0b
Python3 compatibility
Changes required for python 3
2019-01-13 00:59:26 +00:00
Xabi 43fa3d8c14
Updated changelog/contributions 2018-07-09 22:08:49 +02:00
Xabi 7558c4b9e2
Merge pull request #7 from andor44/master
Handle cases where node is unavailable
2018-07-09 21:45:12 +02:00
Andor Uhlár dadf7262fb
Handle cases where node is unavailable 2018-07-06 19:01:28 +02:00
Xabi d6cf98c1dc
Added how does it work section (fixes #4)
Added some info about how does it work, requirements and features
2018-02-23 16:25:23 +01:00
Xabi e4df4b18c6 Merge pull request #3 from isindir/ez_add_py26_compat
Add backwards compatability with python 2.6 format requirements
2017-04-10 19:04:02 +02:00
Eriks Zelenka cda6dae03b Add backwards compatability with python 2.6 format requirements 2017-04-08 18:08:30 +01:00
Xabi 83b55b3f36 Changelog updated 2017-03-17 14:19:31 +01:00
Xabi e28b5221c0 Merge pull request #2 from nmaggioni/config-file
Configuration in JSON file
2017-03-17 14:14:01 +01:00
Niccolò Maggioni 763dc12a1a
Addition of JSON config sample 2017-03-17 12:30:30 +01:00
Niccolò Maggioni ca8b50d569
README addition for JSON config file 2017-03-17 12:27:35 +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
Xabi 362fdfe82e Merge pull request #1 from isindir/add_pxmx_ver3_contrs
Add backwards compatability with openvz on Proxmox ver3
2017-03-10 10:28:42 +01:00
Eriks Zelenka ba35cdc297 Add backwards compatability with openvz on Proxmox ver3 2017-03-05 18:51:30 +00:00
xezpeleta 85944bb0b4 Added examples section, get distribution version example 2016-11-23 15:30:19 +01:00
xezpeleta 70fe610631 Added reference to setenv.sh 2016-11-23 10:20:43 +01:00
xezpeleta 003e149cec Improved examples 2016-11-23 10:16:19 +01:00
xezpeleta 746c08aa6b Added a playbook example 2016-11-23 09:55:00 +01:00
xezpeleta 389920b544 Fix typo in URL 2016-11-23 09:50:40 +01:00
xezpeleta 013cafad1f Added setenv template 2016-11-23 09:44:24 +01:00
xezpeleta e6c4e8854a Added .gitignore 2016-11-23 09:43:50 +01:00
xezpeleta 8a41bb4113 Changelog updated 2016-11-23 09:11:30 +01:00
Xabi eceb8fc287 Added instructions 2016-11-22 16:44:38 +01:00
Xabi 51f882f81c Modified Proxmox inventory 2016-11-22 16:12:25 +01:00
Xabi f03835e8fc Initial commit 2016-11-22 16:03:46 +01:00