Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 1.18 KB

README.md

File metadata and controls

37 lines (27 loc) · 1.18 KB

mila.proxmox.ha

To manage HA Groups assignations of VMs or CTs , use the role mila.proxmox.ha.

You must provide the proxmox_ha_resources variable in order to assign ressources to existing HA Groups.

Example:

---
proxmox_ha_resources:
  - group: "HA_all"
    members:
      - "vm:110"
      - "vm:108"
  - group: "HA_vn-b"
    members:
      - "ct:200"
      - "ct:202"

This role DOES NOT creates the HA Groups ! You must create them yourself.

To authenticate to the REST API of your Proxmox VE cluster, you first need to create an API token, then you must define the 4 mandatory variables below:

  • proxmox_api_host: the hostname or IP address of the Proxmox VE API server
  • proxmox_api_user: the user name to authenticate (e.g. ansible@pam)
  • proxmox_api_token_id: the token name (e.g. prod)
  • proxmox_api_token_secret: the token secret provided by ProxmoxVE

By default, the proxmox modules in community.general do not validate SSL certs. To enable certificate validation, define the variable:

  • proxmox_api_validate_certs: true