Fixed issues with naming that were causing problems (#7)

* Fixed issues with naming that were causing problems

* Fixed test data
This commit is contained in:
Mark Horninger 2024-02-23 22:01:01 -05:00 committed by GitHub
parent cba3dd6d61
commit 8357f52f89
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 6 additions and 6 deletions

View File

@ -8,7 +8,7 @@ namespace: dominion_solutions
name: netbird
# The version of the collection. Must be compatible with semantic versioning
version: 0.1.0
version: 0.1.1
# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
readme: README.md

View File

@ -26,7 +26,7 @@ options:
plugin:
description: Marks this as an instance of the 'netbird' plugin.
required: true
choices: ['netbird', 'dominion_solutions.netbird']
choices: ['netbird', 'dominion_solutions.netbird.netbird']
ip_style:
description: Populate hostvars with all information available from the Netbird API.
type: string
@ -71,7 +71,7 @@ options:
EXAMPLES = r"""
# This is an inventory that finds the All Group and creates groups for the connected and ssh_enabled peers.
---
plugin: dominion_solutions.netbird
plugin: dominion_solutions.netbird.netbird
api_key: << api_key >>
api_url: << api_url >>
netbird_groups:
@ -105,7 +105,7 @@ display = Display()
class InventoryModule(BaseInventoryPlugin, Constructable, Cacheable):
NAME = "dominion_solutions.netbird"
NAME = "dominion_solutions.netbird.netbird"
_load_name = NAME
def _build_client(self, loader):

View File

@ -1,5 +1,5 @@
---
plugin: dominion_solutions.netbird
plugin: netbird
api_key: nbp_1234567890123456789012345678901234567
api_url: https://netbird.example.com/api/v1
ip_style: plain

View File

@ -1,5 +1,5 @@
---
plugin: dominion_solutions.netbird
plugin: netbird
api_key: nbp_1234567890123456789012345678901234567
api_url: https://netbird.example.com/api/v1
ip_style: plain