Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 1.29 KB

README.md

File metadata and controls

42 lines (33 loc) · 1.29 KB

Proxmox Change VM Guest Power State

proxmox playbook GitHub last commit GitHub repo file count GitHub top language GitHub

Purpose

This play is for changing the power state of a pve hosted virtual machine guest (eg stopped, restarted)

Requirements

community.general

Role Variables

Default role variables for the pve_vm_state role are listed below (see defaults/main.yml)

proxmox_host: 192.168.0.1
proxmox_user: root@pam
proxmox_password: password
vm_guest:
  - name: vm01
    state: started # options: present,stopped,started,absent,restarted,current
  - ...etc...

Dependencies

None

Example Playbook

    - hosts: localhost
      roles:
        - pve_vm_state

Author Information

This playbook was created in 2022 by Lee Woodhouse