Skip to content

Commit 3f9bf78

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 f3f2e64 commit 3f9bf78

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
@@ -25,7 +25,7 @@
2525
- openshift-logging
2626
tasks:
2727
- name: "Verify logging infrastructure components"
28-
ansible.builtin.import_role:
28+
ansible.builtin.include_role:
2929
name: common
3030

3131
- name: "Verify logging pods are running in openstack"
@@ -43,7 +43,7 @@
4343
- openstackclient
4444
tasks:
4545
- name: "Verify Running Pods"
46-
ansible.builtin.import_role:
46+
ansible.builtin.include_role:
4747
name: common
4848

4949

@@ -62,7 +62,7 @@
6262
- loki-operator-controller-manager
6363
tasks:
6464
- name: "Verify Pods running"
65-
ansible.builtin.import_role:
65+
ansible.builtin.include_role:
6666
name: common
6767

6868
- name: "Verify logging pods are running in openshift-logging"
@@ -91,7 +91,7 @@
9191
### see JIRA LOG-5431 if pods not running
9292
tasks:
9393
- name: "Verify Pods running"
94-
ansible.builtin.import_role:
94+
ansible.builtin.include_role:
9595
name: common
9696

9797
- name: "Verify logging pods are running in minio-dev"
@@ -109,7 +109,7 @@
109109
- minio
110110
tasks:
111111
- name: "Run pod running tests"
112-
ansible.builtin.import_role:
112+
ansible.builtin.include_role:
113113
name: common
114114

115115

@@ -128,7 +128,7 @@
128128
- logging-edpm-deployment-openstack-edpm-ipam
129129
tasks:
130130
- name: "Run pods completed tests"
131-
ansible.builtin.import_role:
131+
ansible.builtin.include_role:
132132
name: common
133133

134134
- name: "Verify the crds exist"
@@ -147,5 +147,5 @@
147147
- rulerconfigs.loki.grafana.com
148148
tasks:
149149
- name: "Run the crds tests"
150-
ansible.builtin.import_role:
150+
ansible.builtin.include_role:
151151
name: common

0 commit comments

Comments
 (0)