mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
7e247b0eea
Provides an alternative authentication method to the password.
The token validity is only tested during the first request after the
instantiation of `ProxmoxAPI`, thus the presence of a call to
`proxmox.version.get()` in `proxmox_template`.
Example:
- name: Ensure test-vm is created
proxmox_kvm:
api_host: prx-test
api_user: tleguern@pve
api_token_id: api-pve-test
api_token_secret: fad3db3d-b335-ee15-9fb0-ea1bf70128db
node: prx-test-01
name: test-vm
...
(cherry picked from commit 5cc900cfdb
)
Co-authored-by: Tristan Le Guern <tristan.leguern-presta@deveryware.com>
5 lines
365 B
YAML
5 lines
365 B
YAML
---
|
|
minor_changes:
|
|
- proxmox - add support for API tokens (https://github.com/ansible-collections/community.general/pull/1206).
|
|
- proxmox_kvm - add support for API tokens (https://github.com/ansible-collections/community.general/pull/1206).
|
|
- proxmox_template - add support for API tokens (https://github.com/ansible-collections/community.general/pull/1206).
|