Commits vergleichen

..

3 Commits

Autor SHA1 Nachricht Datum
Sebastian Tobie d3114d4a4a fixed scp.py 2023-12-30 14:51:11 +01:00
Sebastian Tobie 2d8f065f5a fixed upload.sh 2023-12-30 14:40:53 +01:00
Sebastian Tobie 805c3087e8 changed owner 2023-12-30 14:27:43 +01:00
8 geänderte Dateien mit 26 neuen und 8 gelöschten Zeilen

Datei anzeigen

@ -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

Datei anzeigen

@ -20,4 +20,4 @@ plugins:
strategy: {} strategy: {}
test: {} test: {}
vars: {} vars: {}
version: 0.1.2 version: 0.1.3

Datei anzeigen

@ -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'

Datei anzeigen

@ -0,0 +1,2 @@
---
release_summary: fixed scp.py

Datei anzeigen

@ -0,0 +1,2 @@
---
release_summary: changed owner of collection

Datei anzeigen

@ -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

Datei anzeigen

@ -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

Datei anzeigen

@ -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"