kookt
This commit is contained in:
31
.gitea/workflows/01_deploy_VM.yaml
Normal file
31
.gitea/workflows/01_deploy_VM.yaml
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
name: Create VM at proxmox
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
logLevel:
|
||||||
|
description: 'Log level'
|
||||||
|
required: true
|
||||||
|
default: 'warning'
|
||||||
|
type: choice
|
||||||
|
options:
|
||||||
|
- info
|
||||||
|
- warning
|
||||||
|
- debug
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- name: executing remote ssh commands using password
|
||||||
|
uses: appleboy/ssh-action@v1.2.0
|
||||||
|
with:
|
||||||
|
host: 192.168.11.102
|
||||||
|
username: root
|
||||||
|
password: ${{ secrets.PASSWORD }}
|
||||||
|
port: 22
|
||||||
|
script: |
|
||||||
|
pveversion
|
||||||
|
|
||||||
Reference in New Issue
Block a user