Update proxmox-docker-install.yml
This commit is contained in:
@@ -1,18 +1,9 @@
|
|||||||
---
|
---
|
||||||
# Play 1: prompt once, on localhost
|
# Play 1: just normalize vars (no prompt here)
|
||||||
- name: Ask for node and VMID
|
- name: Receive node and VMID
|
||||||
hosts: localhost
|
hosts: localhost
|
||||||
gather_facts: false
|
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:
|
tasks:
|
||||||
- name: Store chosen values as facts on localhost
|
- name: Store chosen values as facts on localhost
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
@@ -104,4 +95,4 @@
|
|||||||
ansible.builtin.debug:
|
ansible.builtin.debug:
|
||||||
msg:
|
msg:
|
||||||
- "Docker version: {{ docker_version.stdout_lines | default([]) }}"
|
- "Docker version: {{ docker_version.stdout_lines | default([]) }}"
|
||||||
- "Docker Compose: {{ docker_compose_version.stdout_lines | default([]) }}"
|
- "Docker Compose: {{ docker_compose_version.stdout_lines | default([]) }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user