Skip to content

Commit

Permalink
feat(proxmox): use env vars for credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
Mario-F committed Nov 12, 2021
1 parent f52ee64 commit 9e4ec27
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions creating/proxmox/playbooks/proxmox.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@

- name: Create new VM with minimal options
community.general.proxmox_kvm:
api_user: root@pam
api_password:
api_user: "{{ lookup('env', 'PVE_USER') }}@pam"
api_password: "{{ lookup('env', 'PVE_PASSWORD') }}"
#api_token_id: ansible
#api_token_secret: XXXX
api_host: node03.skynet.local
api_host: "{{ lookup('env', 'PVE_HOST') }}"
node: node03
name: ansible-testvm
vmid: 9998

0 comments on commit 9e4ec27

Please sign in to comment.