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/inventory
shayrybak 951a7e2758
Add inventory plugin for Stackpath Edge Compute (#856)
* Add inventory plugin for Stackpath Edge Compute

* Update comments from PR regarding general issues.

* Convert requests to ansible open_url

* Add types to documentation and replace stack ids with stack names

* Replace stack_ids with stack_slugs for easier readability, fix pagination and separate getting lists to a function

* create initial test

* fix test name

* fix test to look at class variable as that function doesn't return the value

* fix pep line length limit in line 149

* Add validation function for config options.
Add more testing for validation and population functions

* set correct indentation for tests

* fix validate config to expect KeyError,
fix testing to have inventory data,
fix testing to use correct authentication function

* import InventoryData from the correct location

* remove test_authenticate since there's no dns resolution in the CI,
rename some stack_slugs to a more generic name
fix missing hostname_key for populate test

* Fix typo in workloadslug name for testing

* fix group name in assertion

* debug failing test

* fix missing hosts in assertion for group hosts

* fixes for documentation formatting
add commas to last item in all dictionaries

* end documentation description with a period

* fix typo in documentation

* More documentation corrections, remove unused local variable
2020-09-30 14:12:42 +03:00
..
__init__.py Initial commit 2020-03-09 09:11:07 +00:00
cobbler.py Improve plugin sanity (#966) 2020-09-28 21:21:51 +02:00
docker_machine.py Fix plugins (names, constants, FQCNs in examples) (#722) 2020-08-08 22:04:34 +02:00
docker_swarm.py Fix plugins (names, constants, FQCNs in examples) (#722) 2020-08-08 22:04:34 +02:00
gitlab_runners.py Fix various sanity errors in plugins (#881) 2020-09-16 11:06:45 +02:00
kubevirt.py Fix plugins (names, constants, FQCNs in examples) (#722) 2020-08-08 22:04:34 +02:00
linode.py Fix plugins (names, constants, FQCNs in examples) (#722) 2020-08-08 22:04:34 +02:00
nmap.py Improve plugin sanity (#966) 2020-09-28 21:21:51 +02:00
online.py Fix plugins (names, constants, FQCNs in examples) (#722) 2020-08-08 22:04:34 +02:00
proxmox.py New inventory module: Proxmox (#545) 2020-08-21 13:16:59 +02:00
scaleway.py Fix plugins (names, constants, FQCNs in examples) (#722) 2020-08-08 22:04:34 +02:00
stackpath_compute.py Add inventory plugin for Stackpath Edge Compute (#856) 2020-09-30 14:12:42 +03:00
virtualbox.py Improve plugin sanity (#966) 2020-09-28 21:21:51 +02:00