Update proxmox-docker-install.yml
This commit is contained in:
@@ -1,18 +1,9 @@
|
||||
---
|
||||
# Play 1: prompt once, on localhost
|
||||
- name: Ask for node and VMID
|
||||
# Play 1: just normalize vars (no prompt here)
|
||||
- name: Receive node and VMID
|
||||
hosts: localhost
|
||||
gather_facts: false
|
||||
|
||||
vars_prompt:
|
||||
- name: target_node
|
||||
prompt: "Enter Proxmox node (loki / thanos / odin)"
|
||||
private: false
|
||||
|
||||
- name: target_vmid
|
||||
prompt: "Enter VMID"
|
||||
private: false
|
||||
|
||||
tasks:
|
||||
- name: Store chosen values as facts on localhost
|
||||
ansible.builtin.set_fact:
|
||||
|
||||
Reference in New Issue
Block a user