changed the name to ansible.netcup
Dieser Commit ist enthalten in:
Ursprung
527ad350cf
Commit
0384f7c17e
|
@ -1,4 +1,5 @@
|
||||||
---
|
---
|
||||||
plugin: sebastian.netcup.scp
|
plugin: ansible.netcup.scp
|
||||||
userid:
|
userid:
|
||||||
password:
|
password:
|
||||||
|
nickname_is_hostname: false
|
||||||
|
|
|
@ -10,7 +10,7 @@ display = Display()
|
||||||
|
|
||||||
|
|
||||||
class InventoryModule(BaseInventoryPlugin):
|
class InventoryModule(BaseInventoryPlugin):
|
||||||
NAME = "sebastian.netcup.scp"
|
NAME = "ansible.netcup.scp"
|
||||||
loader: DataLoader
|
loader: DataLoader
|
||||||
inventory: InventoryData
|
inventory: InventoryData
|
||||||
plugin: str
|
plugin: str
|
||||||
|
@ -60,8 +60,8 @@ class InventoryModule(BaseInventoryPlugin):
|
||||||
inventory.set_variable(nickname, "up", serverinfo["status"] == "online")
|
inventory.set_variable(nickname, "up", serverinfo["status"] == "online")
|
||||||
|
|
||||||
|
|
||||||
DOCUMENTATION = r"""
|
DOCUMENTATION = """
|
||||||
name: sebastian.netcup.scp
|
name: ansible.netcup.scp
|
||||||
plugin_type: inventory
|
plugin_type: inventory
|
||||||
short_description: Returns Ansible inventory from netcup SCP
|
short_description: Returns Ansible inventory from netcup SCP
|
||||||
description: Returns Ansible inventory from netcup SCP
|
description: Returns Ansible inventory from netcup SCP
|
||||||
|
@ -70,7 +70,7 @@ DOCUMENTATION = r"""
|
||||||
plugin:
|
plugin:
|
||||||
description: Name of the plugin
|
description: Name of the plugin
|
||||||
required: true
|
required: true
|
||||||
choices: ['scp', "sebastian.netcup.scp"]
|
choices: ['scp', "ansible.netcup.scp"]
|
||||||
userid:
|
userid:
|
||||||
description: userid for logging into SCP
|
description: userid for logging into SCP
|
||||||
required: true
|
required: true
|
||||||
|
|
Laden…
In neuem Issue referenzieren