Skip to content

Commit c05ebbd

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 9237f93 commit c05ebbd

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

ci/logging_tests_computes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
- /etc/rsyslog.d/10-telemetry.conf
1717
tasks:
1818
- name: "Run Telemetry Logging tests"
19-
ansible.builtin.import_role:
19+
ansible.builtin.include_role:
2020
name: telemetry_logging
2121

2222
- name: "Run the tests from the common role"

ci/logging_tests_controller.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
- openstack-logging
7171
tasks:
7272
- name: "Verify logging infrastructure components"
73-
ansible.builtin.import_role:
73+
ansible.builtin.include_role:
7474
name: common
7575

7676
- name: "Verify logging pods are running in openstack"
@@ -88,7 +88,7 @@
8888
- openstackclient
8989
tasks:
9090
- name: "Verify Running Pods"
91-
ansible.builtin.import_role:
91+
ansible.builtin.include_role:
9292
name: common
9393

9494

@@ -107,7 +107,7 @@
107107
- loki-operator-controller-manager
108108
tasks:
109109
- name: "Verify Pods running"
110-
ansible.builtin.import_role:
110+
ansible.builtin.include_role:
111111
name: common
112112

113113
- name: "Verify logging pods are running in openshift-logging"
@@ -135,7 +135,7 @@
135135
### see JIRA LOG-5431 if pods not running
136136
tasks:
137137
- name: "Verify Pods running"
138-
ansible.builtin.import_role:
138+
ansible.builtin.include_role:
139139
name: common
140140

141141
- name: "Verify logging pods are running in minio-dev"
@@ -153,7 +153,7 @@
153153
- minio
154154
tasks:
155155
- name: "Run pod running tests"
156-
ansible.builtin.import_role:
156+
ansible.builtin.include_role:
157157
name: common
158158

159159

@@ -187,7 +187,7 @@
187187
- validate-network-edpm-deployment-openstack-edpm-ipam
188188
tasks:
189189
- name: "Run pods completed tests"
190-
ansible.builtin.import_role:
190+
ansible.builtin.include_role:
191191
name: common
192192

193193
- name: "Verify the crds exist"

0 commit comments

Comments
 (0)