From 3d389c10b29ae27c5f019233c38b58e4748da73d Mon Sep 17 00:00:00 2001 From: Rich Megginson Date: Tue, 20 Aug 2024 14:14:52 -0600 Subject: [PATCH] test: add gather_facts true for tests that need facts Signed-off-by: Rich Megginson --- tests/tests_cib_resources_create.yml | 1 + tests/tests_cluster_basic_cloud_packages.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/tests_cib_resources_create.yml b/tests/tests_cib_resources_create.yml index 4e57400e..bcc37c0e 100644 --- a/tests/tests_cib_resources_create.yml +++ b/tests/tests_cib_resources_create.yml @@ -2,6 +2,7 @@ --- - name: Create all kinds of resources in a cluster hosts: all + gather_facts: true # needs facts vars_files: vars/main.yml vars: ha_cluster_cluster_name: test-cluster diff --git a/tests/tests_cluster_basic_cloud_packages.yml b/tests/tests_cluster_basic_cloud_packages.yml index b616928b..0bfc1f5e 100644 --- a/tests/tests_cluster_basic_cloud_packages.yml +++ b/tests/tests_cluster_basic_cloud_packages.yml @@ -2,6 +2,7 @@ --- - name: Minimal cluster configuration, install cloud agents hosts: all + gather_facts: true # needs facts vars_files: vars/main.yml vars: ha_cluster_cluster_name: test-cluster