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