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

This commit is contained in:
2026-09-17 13:22:50 +00:00
parent 71eea7d8fc
commit 2e05b1a96a
15 changed files with 277 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