ansiiiible

This commit is contained in:
plasmagoat 2025-06-09 00:16:41 +02:00
parent 85d0217436
commit a8aa633c49
12 changed files with 314 additions and 0 deletions

15
ansible/vault.yml Normal file
View file

@ -0,0 +1,15 @@
# To edit this file: ansible-vault edit ansible/vault.yml
# For initial Proxmox user creation (using root@pam to create the API user)
proxmox_root_password: "YOUR_PROXMOX_ROOT_PASSWORD_HERE" # CHANGE THIS AND ENCRYPT
# For the dedicated Proxmox API user and token (for CI/CD)
proxmox_ci_api_user_name: cicd-api-user
proxmox_ci_api_user_realm: pam
proxmox_ci_api_user_password: "SUPER_STRONG_PASSWORD_FOR_API_USER" # CHANGE THIS AND ENCRYPT
proxmox_ci_api_token_id: cicd-deploy-token
# The 'value' of the API token secret should be generated by 'pveum' or 'proxmox_api_token' module.
# You will get this after running proxmox_setup.yml for the first time.
# Then update this vault.yml with the actual secret.
proxmox_ci_api_token_secret: "pveum_token_secret_from_first_run_here" # POPULATE THIS AFTER FIRST RUN AND ENCRYPT