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/tests/unit/plugins/inventory
Kellin e77adff0b7
Linode Inventory can use full IP data from APIv4 (#3203)
* Linode Inventory can use full IP data from APIv4

- The Linode dynamic inventory module does not currently distinguish
  between private and public IP addresses even though the Linode APIv4
  contains this information. This change keeps the current behavior as
  the default and adds an option to set `ip_style: api`. When set, this
  option allows administrators to differentiate between private, public,
  slaac, local_link, and pool network addresses providing a more nuanced
  and granular view of the remote host's network information.

Signed-off-by: Kellin <kellin@retromud.org>

* Review - amend changelog details

- Adds a link back to this pull request
- Uses markdown styles for easier to read publishing in the changelogs
- Amends the wording style to match the existing changelog styles

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

* Add scope to example invocation

- Adds the `community.general` scope to invocation example

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

* Convert lamda to list comprehension

- Change the ip type filter from a lambda to a list comprehension

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

* Add punctuation to description sentence

- Adds a period to the end of the description sentence

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

Co-authored-by: Felix Fontein <felix@fontein.de>
2021-08-27 06:20:04 +02:00
..
fixtures lxd: dynamic inventory (#2026) 2021-04-26 18:25:45 +02:00
__init__.py Initial commit 2020-03-09 09:11:07 +00:00
test_cobbler.py add inventory plugin unit test test_verify_file (#2773) 2021-06-10 22:05:04 +02:00
test_linode.py Linode Inventory can use full IP data from APIv4 (#3203) 2021-08-27 06:20:04 +02:00
test_lxd.py add inventory plugin unit test test_verify_file (#2773) 2021-06-10 22:05:04 +02:00
test_proxmox.py Proxmox inventory: Added snapshots fact (#3044) 2021-07-22 22:55:07 +02:00
test_stackpath_compute.py add inventory plugin unit test test_verify_file (#2773) 2021-06-10 22:05:04 +02:00