diff --git a/test-playbooks/registry/roles/run-test-intermediate-registry/tasks/main.yaml b/test-playbooks/registry/roles/run-test-intermediate-registry/tasks/main.yaml index bfba17653..d0bc72493 100644 --- a/test-playbooks/registry/roles/run-test-intermediate-registry/tasks/main.yaml +++ b/test-playbooks/registry/roles/run-test-intermediate-registry/tasks/main.yaml @@ -2,10 +2,12 @@ become: true file: state: directory - path: "/var/registry/{{ item }}" + path: "/var/registry/{{ zj_reg_dir }}" loop: - certs - auth + loop_control: + loop_var: zj_reg_dir - name: Install python packages become: true package: