- Add individual `host_vars` YAML files for new proxmox hosts (`aya01`, `inko`, `lulu`): - Set SSH and Ansible connection variables, including `ansible_user`, `ansible_host`, `ansible_port`, and `ansible_ssh_private_key_file` - Configure `ansible_become_pass` with respective vault entries for sudo access - Define host-specific metadata, including hostname and IP address - Update `production` inventory: - Add new `[proxmox]` group and include `aya01`, `inko`, and `lulu` for proxmox-related automation These additions streamline Ansible's management of proxmox hosts, centralizing their configuration and enabling easier host-specific variable access for deployment and management tasks. Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
11 lines
223 B
YAML
11 lines
223 B
YAML
---
|
|
ansible_user: "root"
|
|
ansible_host: 192.168.20.14
|
|
ansible_port: 22
|
|
ansible_ssh_private_key_file: "{{ pk_path }}"
|
|
ansible_become_pass: "{{ vault.pve.inko.root.sudo }}"
|
|
|
|
host:
|
|
hostname: "inko"
|
|
ip: "{{ ansible_host }}"
|