diff --git a/roles/mirror-workspace-git-repos/tasks/main.yaml b/roles/mirror-workspace-git-repos/tasks/main.yaml index f513e5965..506aba37e 100644 --- a/roles/mirror-workspace-git-repos/tasks/main.yaml +++ b/roles/mirror-workspace-git-repos/tasks/main.yaml @@ -4,13 +4,13 @@ value: ignore scope: local repo: "{{ ansible_user_dir }}/{{ item.value.src_dir}}" - with_dict: "{{ zuul._projects }}" + with_dict: "{{ zuul.projects }}" - name: Synchronize src repos to workspace directory command: "git push --mirror git+ssh://{{ ansible_user }}@{{ ansible_host }}/{{ ansible_user_dir }}/{{ item.value.src_dir}}" args: chdir: "{{ zuul.executor.work_root }}/{{ item.value.src_dir }}" - with_dict: "{{ zuul._projects }}" + with_dict: "{{ zuul.projects }}" delegate_to: localhost # ANSIBLE0006: Skip linting since it triggers on the "git" command, # but push is not supported by ansible git module. @@ -22,7 +22,7 @@ shell: "echo '{{ item.key }}:' $(git status | head -1 |awk '{ print $NF }')" args: chdir: "{{ zuul.executor.work_root }}/{{ item.value.src_dir }}" - with_dict: "{{ zuul._projects }}" + with_dict: "{{ zuul.projects }}" delegate_to: localhost register: project_heads_yaml # ANSIBLE0006: Skip linting since it triggers on the "git" command, @@ -46,7 +46,7 @@ git checkout {{ project_heads[item.key] }} args: chdir: "{{ ansible_user_dir }}/{{ item.value.src_dir }}" - with_dict: "{{ zuul._projects }}" + with_dict: "{{ zuul.projects }}" # ANSIBLE0006: Skip linting since it triggers on the "git" command, # but we prefer the shell above tags: diff --git a/roles/tox/tasks/siblings.yaml b/roles/tox/tasks/siblings.yaml index d527edeeb..9966ec2fe 100644 --- a/roles/tox/tasks/siblings.yaml +++ b/roles/tox/tasks/siblings.yaml @@ -10,4 +10,4 @@ tox_envlist: "{{ tox_envlist }}" tox_constraints_file: "{{ tox_constraints_file | default(omit) }}" project_dir: "{{ zuul_work_dir }}" - projects: "{{ zuul._projects.values() | selectattr('required') | list }}" + projects: "{{ zuul.projects.values() | selectattr('required') | list }}"