Skip to content

Commit a0c368a

Browse files
committed
[ci/logging] Use include_role instead of import_role for using the common role
The values for the loop items don't seem to render otherwise.
1 parent b299c6f commit a0c368a

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

ci/logging_tests_computes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
- nova_compute
1414
tasks:
1515
- name: "Run Telemetry Logging tests"
16-
ansible.builtin.import_role:
16+
ansible.builtin.include_role:
1717
name: telemetry_logging

ci/logging_tests_controller.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
- /etc/rsyslog.d/10-telemetry.conf
4848
tasks:
4949
- name: "Verify logging infrastructure components"
50-
ansible.builtin.import_role:
50+
ansible.builtin.include_role:
5151
name: common
5252

5353
- name: "Verify logging pods are running in openstack"
@@ -65,7 +65,7 @@
6565
- openstackclient
6666
tasks:
6767
- name: "Verify Running Pods"
68-
ansible.builtin.import_role:
68+
ansible.builtin.include_role:
6969
name: common
7070

7171

@@ -84,7 +84,7 @@
8484
- loki-operator-controller-manager
8585
tasks:
8686
- name: "Verify Pods running"
87-
ansible.builtin.import_role:
87+
ansible.builtin.include_role:
8888
name: common
8989

9090
- name: "Verify logging pods are running in openshift-logging"
@@ -112,7 +112,7 @@
112112
### see JIRA LOG-5431 if pods not running
113113
tasks:
114114
- name: "Verify Pods running"
115-
ansible.builtin.import_role:
115+
ansible.builtin.include_role:
116116
name: common
117117

118118
- name: "Verify logging pods are running in minio-dev"
@@ -130,7 +130,7 @@
130130
- minio
131131
tasks:
132132
- name: "Run pod running tests"
133-
ansible.builtin.import_role:
133+
ansible.builtin.include_role:
134134
name: common
135135

136136

@@ -149,7 +149,7 @@
149149
- logging-edpm-deployment-openstack-edpm-ipam
150150
tasks:
151151
- name: "Run pods completed tests"
152-
ansible.builtin.import_role:
152+
ansible.builtin.include_role:
153153
name: common
154154

155155
- name: "Verify the crds exist"
@@ -168,5 +168,5 @@
168168
- rulerconfigs.loki.grafana.com
169169
tasks:
170170
- name: "Run the crds tests"
171-
ansible.builtin.import_role:
171+
ansible.builtin.include_role:
172172
name: common

0 commit comments

Comments
 (0)