140 vm
This commit is contained in:
33
.gitea/workflows/140_DEPLOY_cloudINIT140 copy.yaml
Normal file
33
.gitea/workflows/140_DEPLOY_cloudINIT140 copy.yaml
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
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: Deploying VM to Proxmox
|
||||||
|
uses: appleboy/ssh-action@v1.2.0
|
||||||
|
with:
|
||||||
|
host: 192.168.11.102
|
||||||
|
username: root
|
||||||
|
password: ${{ secrets.PASSWORD }}
|
||||||
|
port: 22
|
||||||
|
script: |
|
||||||
|
pveversion
|
||||||
|
qm stop 140
|
||||||
|
qm destroy 140
|
||||||
|
|
||||||
Reference in New Issue
Block a user