1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/plugins/modules/cloud/misc
patchback[bot] d5c24e67e8
proxmox: create a common base (#1331) (#1378)
* proxmox: create a common base

Add a doc_fragment to share the documentation regarding authentication
parameters (api_host, api_user, api_password, api_token_id,
api_token_secret as well as the lone validate_certs).

Add a module_utils to hold common code such as the argument spec (again
related to authentication paramters), a helper function to convert from
Proxmox boolean representation to python and the base class
ProxmoxAnsible.
For now it only handles the connection to Proxmox VE API but more can be
added in the future.

To check if everything is well in place add three new modules:
proxmox_{domain,group,user}_info.

And finaly tests these new modules.

* Apply suggestions from code review

Co-authored-by: Felix Fontein <felix@fontein.de>

* Add tests/integration/targets/proxmox/aliases

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 51a08ea398)

Co-authored-by: Tristan Le Guern <tleguern@bouledef.eu>
2020-11-24 17:56:50 +01:00
..
cloud_init_data_facts.py Reduce ignored sanity tests in cloud/misc modules (#845) (#920) 2020-09-17 20:59:12 +02:00
helm.py Reduce ignored sanity tests in cloud/misc modules (#845) (#920) 2020-09-17 20:59:12 +02:00
ovirt.py Reduce ignored sanity tests in cloud/misc modules (#845) (#920) 2020-09-17 20:59:12 +02:00
proxmox.py proxmox*: add support for API tokens (#1206) (#1316) 2020-11-16 21:37:42 +01:00
proxmox_domain_info.py proxmox: create a common base (#1331) (#1378) 2020-11-24 17:56:50 +01:00
proxmox_group_info.py proxmox: create a common base (#1331) (#1378) 2020-11-24 17:56:50 +01:00
proxmox_kvm.py Tidy up validate-modules ignores for some cloud/ modules (#1354) (#1356) 2020-11-23 10:01:35 +01:00
proxmox_template.py Tidy up validate-modules ignores for some cloud/ modules (#1354) (#1356) 2020-11-23 10:01:35 +01:00
proxmox_user_info.py proxmox: create a common base (#1331) (#1378) 2020-11-24 17:56:50 +01:00
rhevm.py Reduce ignored sanity tests in cloud/misc modules (#845) (#920) 2020-09-17 20:59:12 +02:00
serverless.py Reduce ignored sanity tests in cloud/misc modules (#845) (#920) 2020-09-17 20:59:12 +02:00
terraform.py Tidy up validate-modules ignores for some cloud/ modules (#1354) (#1356) 2020-11-23 10:01:35 +01:00
xenserver_facts.py modules: fix examples to use FQCN for builtin modules (#648) 2020-07-14 18:28:08 +03:00