From f9716633c496dee15d39552473cfa6c0f8d65f36 Mon Sep 17 00:00:00 2001 From: Andrey Gubarev Date: Sat, 17 Jun 2023 17:16:18 +0400 Subject: [PATCH 1/2] add gather facts --- .../{{cookiecutter.scenario_name}}/prepare.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/molecule_qemu/cookiecutter/{{cookiecutter.molecule_directory}}/{{cookiecutter.scenario_name}}/prepare.yml b/molecule_qemu/cookiecutter/{{cookiecutter.molecule_directory}}/{{cookiecutter.scenario_name}}/prepare.yml index 0c87d10..20a4dc5 100644 --- a/molecule_qemu/cookiecutter/{{cookiecutter.molecule_directory}}/{{cookiecutter.scenario_name}}/prepare.yml +++ b/molecule_qemu/cookiecutter/{{cookiecutter.molecule_directory}}/{{cookiecutter.scenario_name}}/prepare.yml @@ -15,3 +15,6 @@ ansible.builtin.wait_for_connection: delay: 5 timeout: 300 + + - name: Gather facts + ansible.builtin.setup: From b8636acfd55c9947166252830ffb8fb8dc954df0 Mon Sep 17 00:00:00 2001 From: Andrey Gubarev Date: Sat, 17 Jun 2023 17:19:33 +0400 Subject: [PATCH 2/2] test prepare with gather facts --- tests/molecule/default/prepare.yml | 3 +++ tests/molecule/network-shared/prepare.yml | 3 +++ tests/molecule/network-user/prepare.yml | 3 +++ tests/molecule/os-debian-bullseye/prepare.yml | 3 +++ tests/molecule/os-ubuntu-focal/prepare.yml | 3 +++ tests/molecule/os-ubuntu-jammy/prepare.yml | 3 +++ tests/molecule/platform-amd64/prepare.yml | 3 +++ tests/molecule/platform-arm64/prepare.yml | 3 +++ 8 files changed, 24 insertions(+) diff --git a/tests/molecule/default/prepare.yml b/tests/molecule/default/prepare.yml index 9b26ccf..ce23c04 100644 --- a/tests/molecule/default/prepare.yml +++ b/tests/molecule/default/prepare.yml @@ -13,3 +13,6 @@ ansible.builtin.wait_for_connection: delay: 5 timeout: 300 + + - name: Gather facts + ansible.builtin.setup: diff --git a/tests/molecule/network-shared/prepare.yml b/tests/molecule/network-shared/prepare.yml index 9b26ccf..ce23c04 100644 --- a/tests/molecule/network-shared/prepare.yml +++ b/tests/molecule/network-shared/prepare.yml @@ -13,3 +13,6 @@ ansible.builtin.wait_for_connection: delay: 5 timeout: 300 + + - name: Gather facts + ansible.builtin.setup: diff --git a/tests/molecule/network-user/prepare.yml b/tests/molecule/network-user/prepare.yml index 9b26ccf..ce23c04 100644 --- a/tests/molecule/network-user/prepare.yml +++ b/tests/molecule/network-user/prepare.yml @@ -13,3 +13,6 @@ ansible.builtin.wait_for_connection: delay: 5 timeout: 300 + + - name: Gather facts + ansible.builtin.setup: diff --git a/tests/molecule/os-debian-bullseye/prepare.yml b/tests/molecule/os-debian-bullseye/prepare.yml index 9b26ccf..ce23c04 100644 --- a/tests/molecule/os-debian-bullseye/prepare.yml +++ b/tests/molecule/os-debian-bullseye/prepare.yml @@ -13,3 +13,6 @@ ansible.builtin.wait_for_connection: delay: 5 timeout: 300 + + - name: Gather facts + ansible.builtin.setup: diff --git a/tests/molecule/os-ubuntu-focal/prepare.yml b/tests/molecule/os-ubuntu-focal/prepare.yml index 9b26ccf..ce23c04 100644 --- a/tests/molecule/os-ubuntu-focal/prepare.yml +++ b/tests/molecule/os-ubuntu-focal/prepare.yml @@ -13,3 +13,6 @@ ansible.builtin.wait_for_connection: delay: 5 timeout: 300 + + - name: Gather facts + ansible.builtin.setup: diff --git a/tests/molecule/os-ubuntu-jammy/prepare.yml b/tests/molecule/os-ubuntu-jammy/prepare.yml index 9b26ccf..ce23c04 100644 --- a/tests/molecule/os-ubuntu-jammy/prepare.yml +++ b/tests/molecule/os-ubuntu-jammy/prepare.yml @@ -13,3 +13,6 @@ ansible.builtin.wait_for_connection: delay: 5 timeout: 300 + + - name: Gather facts + ansible.builtin.setup: diff --git a/tests/molecule/platform-amd64/prepare.yml b/tests/molecule/platform-amd64/prepare.yml index 9b26ccf..ce23c04 100644 --- a/tests/molecule/platform-amd64/prepare.yml +++ b/tests/molecule/platform-amd64/prepare.yml @@ -13,3 +13,6 @@ ansible.builtin.wait_for_connection: delay: 5 timeout: 300 + + - name: Gather facts + ansible.builtin.setup: diff --git a/tests/molecule/platform-arm64/prepare.yml b/tests/molecule/platform-arm64/prepare.yml index 9b26ccf..ce23c04 100644 --- a/tests/molecule/platform-arm64/prepare.yml +++ b/tests/molecule/platform-arm64/prepare.yml @@ -13,3 +13,6 @@ ansible.builtin.wait_for_connection: delay: 5 timeout: 300 + + - name: Gather facts + ansible.builtin.setup: