Commits vergleichen
3 Commits
c396f6c628
...
d3114d4a4a
Autor | SHA1 | Datum |
---|---|---|
Sebastian Tobie | d3114d4a4a | |
Sebastian Tobie | 2d8f065f5a | |
Sebastian Tobie | 805c3087e8 |
|
@ -5,6 +5,14 @@ stop50.ansible-netcup Release Notes
|
||||||
.. contents:: Topics
|
.. contents:: Topics
|
||||||
|
|
||||||
|
|
||||||
|
v0.1.3
|
||||||
|
======
|
||||||
|
|
||||||
|
Release Summary
|
||||||
|
---------------
|
||||||
|
|
||||||
|
changed owner of collection
|
||||||
|
|
||||||
v0.1.2
|
v0.1.2
|
||||||
======
|
======
|
||||||
|
|
||||||
|
@ -40,4 +48,4 @@ New Plugins
|
||||||
Inventory
|
Inventory
|
||||||
~~~~~~~~~
|
~~~~~~~~~
|
||||||
|
|
||||||
- ansible.netcup.scp - Returns Ansible inventory from netcup SCP
|
- sebastian.netcup.scp - Returns Ansible inventory from netcup SCP
|
||||||
|
|
|
@ -20,4 +20,4 @@ plugins:
|
||||||
strategy: {}
|
strategy: {}
|
||||||
test: {}
|
test: {}
|
||||||
vars: {}
|
vars: {}
|
||||||
version: 0.1.2
|
version: 0.1.3
|
||||||
|
|
|
@ -27,3 +27,9 @@ releases:
|
||||||
fragments:
|
fragments:
|
||||||
- scp-additional_info.yml
|
- scp-additional_info.yml
|
||||||
release_date: '2023-12-10'
|
release_date: '2023-12-10'
|
||||||
|
0.1.3:
|
||||||
|
changes:
|
||||||
|
release_summary: changed owner of collection
|
||||||
|
fragments:
|
||||||
|
- owner-change.yml
|
||||||
|
release_date: '2023-12-30'
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
---
|
||||||
|
release_summary: fixed scp.py
|
|
@ -0,0 +1,2 @@
|
||||||
|
---
|
||||||
|
release_summary: changed owner of collection
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
namespace: ansible
|
namespace: sebastian
|
||||||
name: netcup
|
name: netcup
|
||||||
version: 0.1.2
|
version: 0.1.5
|
||||||
readme: README.md
|
readme: README.md
|
||||||
authors:
|
authors:
|
||||||
- Sebastian Tobie
|
- Sebastian Tobie
|
||||||
|
|
|
@ -10,7 +10,7 @@ display = Display()
|
||||||
|
|
||||||
|
|
||||||
class InventoryModule(BaseInventoryPlugin):
|
class InventoryModule(BaseInventoryPlugin):
|
||||||
NAME = "ansible.netcup.scp"
|
NAME = "sebastian.netcup.scp"
|
||||||
loader: DataLoader
|
loader: DataLoader
|
||||||
inventory: InventoryData
|
inventory: InventoryData
|
||||||
plugin: str
|
plugin: str
|
||||||
|
@ -71,7 +71,7 @@ class InventoryModule(BaseInventoryPlugin):
|
||||||
|
|
||||||
|
|
||||||
DOCUMENTATION = """
|
DOCUMENTATION = """
|
||||||
name: ansible.netcup.scp
|
name: sebastian.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
|
||||||
|
@ -80,7 +80,7 @@ DOCUMENTATION = """
|
||||||
plugin:
|
plugin:
|
||||||
description: Name of the plugin
|
description: Name of the plugin
|
||||||
required: true
|
required: true
|
||||||
choices: ['scp', "ansible.netcup.scp"]
|
choices: ['scp', "sebastian.netcup.scp"]
|
||||||
userid:
|
userid:
|
||||||
description: userid for logging into SCP
|
description: userid for logging into SCP
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -3,4 +3,4 @@ user=$(yq -r .namespace galaxy.yml)
|
||||||
package=$(yq -r .name galaxy.yml)
|
package=$(yq -r .name galaxy.yml)
|
||||||
version=$(yq -r .version galaxy.yml)
|
version=$(yq -r .version galaxy.yml)
|
||||||
printf "Namespace: %s\nPackage: %s\nVersion: %s\nfile name: %s\n" $user $package $version "$user-$package-$version.tar.gz"
|
printf "Namespace: %s\nPackage: %s\nVersion: %s\nfile name: %s\n" $user $package $version "$user-$package-$version.tar.gz"
|
||||||
curl -u sebastian --upload-file "${user}-${package}-${version}.tar.gz" "https://gitea.sebastian-tobie.de/api/packages/${user}/generic/${package}/${version}/${user}-${package}-${version}.tar.gz"
|
curl -u sebastian --upload-file "${user}-${package}-${version}.tar.gz" "https://gitea.sebastian-tobie.de/api/packages/ansible/generic/${package}/${version}/${user}-${package}-${version}.tar.gz"
|
||||||
|
|
Laden…
In neuem Issue referenzieren