声明式管理 Proxmox API 对象与 Samba DNS 上游
yaml / yaml (pull_request) Failing after 25s
terraform / validate (pull_request) Successful in 57s
ansible / collection-test (pull_request) Successful in 1m34s
ansible / lint (pull_request) Successful in 4m1s

This commit is contained in:
2026-09-17 13:18:59 +00:00
parent 76ec49ff48
commit 54dd52f0ed
17 changed files with 294 additions and 106 deletions
@@ -1,4 +1,13 @@
---
# Shared authentication for typed community.proxmox API modules. Secrets are
# runtime inputs; never put them in inventory or vars files.
pve_api_host: "{{ lookup('env', 'PROXMOX_HOST') }}"
pve_api_user: "{{ lookup('env', 'PROXMOX_USER') }}"
pve_api_token_id: "{{ lookup('env', 'PROXMOX_TOKEN_ID') }}"
pve_api_token_secret: "{{ lookup('env', 'PROXMOX_TOKEN_SECRET') }}"
pve_api_validate_certs: true
pve_api_python_interpreter: "{{ lookup('env', 'PVE_API_PYTHON') | default(ansible_playbook_python, true) }}"
ansible_user: root
ansible_python_interpreter: /usr/bin/python3