ansible-infra/collections/ansible_collections/nullified/infrastructure/plugins/tests/github_artifact.json
2023-11-08 00:00:00 +00:00

42 lines
1.2 KiB
JSON

{
"ANSIBLE_MODULE_ARGS": {
"github_token": "",
"artifacts": [
{
"asset_type": "tag",
"repository": "smxi/inxi",
"version": "3.3.29-1",
"cmds": [
"echo asset_name: {asset_name}",
"echo asset_dirname: {asset_dirname}",
"echo asset_filename: {asset_filename}",
"echo asset_version: {asset_version}",
"echo system: {system}",
"echo machine: {machine}",
"echo version: {version}"
]
},
{
"asset_type": "tag",
"repository": "smxi/inxi",
"cmds": [
"tar -zxf {asset_dirname}/{asset_filename}",
"install --group=root --mode=755 --owner=root smxi-inxi-*/inxi /usr/bin",
"install --group=root --mode=644 --owner=root smxi-inxi-*/inxi.1 /usr/share/man/man1",
"apt-get install libdata-dump-perl"
]
},
{
"asset_name": "dive_{version}_linux_amd64.deb",
"asset_type": "release",
"repository": "wagoodman/dive"
},
{
"asset_name": "dive_{version}_linux_amd64.deb",
"asset_type": "release",
"repository": "wagoodman/dive",
"version": "v0.10.0"
}
]
}
}