Skip to content

Commit e97a352

Browse files
committed
feat(OSPRH-19974) cleanup: Replace hardcoded /home/zuul in cleanup_openstack role
Improve flexibility and consistency by replacing a hardcoded home path with variables.
1 parent 221015d commit e97a352

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

roles/cleanup_openstack/tasks/main.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@
7070
| unique
7171
}}
7272
_external_dns_crs:
73-
- /home/zuul/ci-framework-data/artifacts/manifests/cifmw_external_dns/ceph-local-dns.yml
74-
- /home/zuul/ci-framework-data/artifacts/manifests/cifmw_external_dns/ceph-local-cert.yml
73+
- "{{ cifmw_basedir }}/artifacts/manifests/cifmw_external_dns/ceph-local-dns.yml"
74+
- "{{ cifmw_basedir }}/artifacts/manifests/cifmw_external_dns/ceph-local-cert.yml"
7575
_operators_crs:
7676
- "{{ cifmw_kustomize_deploy_nmstate_dest_file }}"
7777
- "{{ cifmw_kustomize_deploy_metallb_dest_file }}"
@@ -117,6 +117,6 @@
117117
path: "{{ item }}"
118118
state: absent
119119
loop:
120-
- "/home/zuul/ci-framework-data/logs"
121-
- "/home/zuul/ci-framework-data/tests"
120+
- "{{ cifmw_basedir }}/logs"
121+
- "{{ cifmw_basedir }}/tests"
122122
become: true

0 commit comments

Comments
 (0)