moved the package to ansible
Dieser Commit ist enthalten in:
Ursprung
5efc47cccc
Commit
527ad350cf
|
@ -162,4 +162,4 @@ cython_debug/
|
||||||
|
|
||||||
# ---> Ansible
|
# ---> Ansible
|
||||||
*.retry
|
*.retry
|
||||||
|
*.tar.gz
|
||||||
|
|
|
@ -19,4 +19,4 @@ New Plugins
|
||||||
Inventory
|
Inventory
|
||||||
~~~~~~~~~
|
~~~~~~~~~
|
||||||
|
|
||||||
- sebastian.netcup.scp - Returns Ansible inventory from netcup SCP
|
- ansible.netcup.scp - Returns Ansible inventory from netcup SCP
|
||||||
|
|
3
Makefile
3
Makefile
|
@ -10,3 +10,6 @@ docs: format
|
||||||
|
|
||||||
release: changelog docs
|
release: changelog docs
|
||||||
ansible-galaxy collection build
|
ansible-galaxy collection build
|
||||||
|
|
||||||
|
upload:
|
||||||
|
./upload.sh
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
namespace: sebastian
|
namespace: ansible
|
||||||
name: netcup
|
name: netcup
|
||||||
version: 0.1.0
|
version: 0.1.0
|
||||||
readme: README.md
|
readme: README.md
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/bash
|
||||||
|
user=$(yq -r .namespace galaxy.yml)
|
||||||
|
package=$(yq -r .name 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"
|
||||||
|
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"
|
Laden…
In neuem Issue referenzieren