qiyutech.proxmox.version module – Get Proxmox(PVE) version

备注

This module is part of the qiyutech.proxmox collection (version 1.0.0).

You might already have this collection installed if you are using the ansible package. It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it, use: ansible-galaxy collection install qiyutech.proxmox.

To use it in a playbook, specify: qiyutech.proxmox.version.

1.0.0 新版功能: of qiyutech.proxmox

Synopsis

  • Get Proxmox(PVE) cluster version

备注

This module has a corresponding action plugin.

Parameters

Parameter

Comments

host

string / required

PVE server host (with http/https prefix)

token_id

string / required

PVE server API Token id

token_secret

string / required

PVE server API Token secret

Examples

- name: Get Proxmox Version
  qiyutech.proxmox.version:
    host: "https://proxmox.ksle.2cc.net"
    token_id: "root@pam!demo"
    token_secret: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"

Authors

  • dev