moved ssh to cert based
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
11
roles/proxmox_vm/tasks/get_info.yml
Normal file
11
roles/proxmox_vm/tasks/get_info.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
- name: List existing nodes
|
||||
community.general.proxmox_node_info:
|
||||
api_host: "{{ proxmox_api_host }}"
|
||||
api_user: "{{ proxmox_api_user }}@pam"
|
||||
api_password: "{{ proxmox_api_password }}"
|
||||
register: proxmox_nodes
|
||||
|
||||
- name: Print info
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ proxmox_nodes }}"
|
||||
Reference in New Issue
Block a user