From 9980e9bfa12dbc27ed90483322cfc70ed7b03bfb Mon Sep 17 00:00:00 2001 From: Andrey Gubarev Date: Sat, 27 May 2023 11:40:56 +0400 Subject: [PATCH 1/2] update args --- molecule_qemu/playbooks/create.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/molecule_qemu/playbooks/create.yml b/molecule_qemu/playbooks/create.yml index 8052f37..60eb590 100644 --- a/molecule_qemu/playbooks/create.yml +++ b/molecule_qemu/playbooks/create.yml @@ -182,7 +182,7 @@ loop_control: label: "{{ item.name }}" - - name: Launch VMs # noqa: no-changed-when + - name: Launch VMs ansible.builtin.command: > qemu-system-{{ item.image_arch }} -name {{ item.name }} @@ -204,6 +204,8 @@ -accel hvf {% endif %} {% endif %} + args: + creates: "{{ item.path_pid }}" loop: "{{ molecule_instances }}" loop_control: label: "{{ item.name }}" From 10a09058b730d8145c431d3bebd5bc887fdbfbe0 Mon Sep 17 00:00:00 2001 From: Andrey Gubarev Date: Tue, 30 May 2023 12:06:17 +0400 Subject: [PATCH 2/2] update default scenario creation --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 466f8a9..161c73c 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Support of other platforms and guest OS is possible, but not tested. ## Example scenario ```bash -molecule init scenario scenario_name -d molecule-qemu +molecule init scenario default --driver-name molecule-qemu --verifier-name testinfra ``` ## Example `molecule.yml`