From 0384f7c17e92bbd264a490ed3fe6afa64f1eed29 Mon Sep 17 00:00:00 2001 From: Sebastian Tobie Date: Sun, 10 Dec 2023 20:47:58 +0100 Subject: [PATCH] changed the name to ansible.netcup --- inventory.yml | 3 ++- plugins/inventory/scp.py | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/inventory.yml b/inventory.yml index 71b9874..732cfc3 100644 --- a/inventory.yml +++ b/inventory.yml @@ -1,4 +1,5 @@ --- -plugin: sebastian.netcup.scp +plugin: ansible.netcup.scp userid: password: +nickname_is_hostname: false diff --git a/plugins/inventory/scp.py b/plugins/inventory/scp.py index 018edf3..14a8da3 100644 --- a/plugins/inventory/scp.py +++ b/plugins/inventory/scp.py @@ -10,7 +10,7 @@ display = Display() class InventoryModule(BaseInventoryPlugin): - NAME = "sebastian.netcup.scp" + NAME = "ansible.netcup.scp" loader: DataLoader inventory: InventoryData plugin: str @@ -60,8 +60,8 @@ class InventoryModule(BaseInventoryPlugin): inventory.set_variable(nickname, "up", serverinfo["status"] == "online") -DOCUMENTATION = r""" - name: sebastian.netcup.scp +DOCUMENTATION = """ + name: ansible.netcup.scp plugin_type: inventory short_description: Returns Ansible inventory from netcup SCP description: Returns Ansible inventory from netcup SCP @@ -70,7 +70,7 @@ DOCUMENTATION = r""" plugin: description: Name of the plugin required: true - choices: ['scp', "sebastian.netcup.scp"] + choices: ['scp', "ansible.netcup.scp"] userid: description: userid for logging into SCP required: true