Skip to content

Commit 509b0d8

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 fb50731 commit 509b0d8

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
@@ -48,7 +48,7 @@
4848
- /etc/rsyslog.d/10-telemetry.conf
4949
tasks:
5050
- name: "Verify logging infrastructure components"
51-
ansible.builtin.import_role:
51+
ansible.builtin.include_role:
5252
name: common
5353

5454
- name: "Verify logging pods are running in openstack"
@@ -66,7 +66,7 @@
6666
- openstackclient
6767
tasks:
6868
- name: "Verify Running Pods"
69-
ansible.builtin.import_role:
69+
ansible.builtin.include_role:
7070
name: common
7171

7272

@@ -85,7 +85,7 @@
8585
- loki-operator-controller-manager
8686
tasks:
8787
- name: "Verify Pods running"
88-
ansible.builtin.import_role:
88+
ansible.builtin.include_role:
8989
name: common
9090

9191
- name: "Verify logging pods are running in openshift-logging"
@@ -114,7 +114,7 @@
114114
### see JIRA LOG-5431 if pods not running
115115
tasks:
116116
- name: "Verify Pods running"
117-
ansible.builtin.import_role:
117+
ansible.builtin.include_role:
118118
name: common
119119

120120
- name: "Verify logging pods are running in minio-dev"
@@ -132,7 +132,7 @@
132132
- minio
133133
tasks:
134134
- name: "Run pod running tests"
135-
ansible.builtin.import_role:
135+
ansible.builtin.include_role:
136136
name: common
137137

138138

@@ -151,7 +151,7 @@
151151
- logging-edpm-deployment-openstack-edpm-ipam
152152
tasks:
153153
- name: "Run pods completed tests"
154-
ansible.builtin.import_role:
154+
ansible.builtin.include_role:
155155
name: common
156156

157157
- name: "Verify the crds exist"
@@ -170,5 +170,5 @@
170170
- rulerconfigs.loki.grafana.com
171171
tasks:
172172
- name: "Run the crds tests"
173-
ansible.builtin.import_role:
173+
ansible.builtin.include_role:
174174
name: common

0 commit comments

Comments
 (0)