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` 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 }}"