- hosts: all
  roles:
    - legacy-copy-project-config-scripts
    - add-sshkey
    - add-launchpad-credentials

- hosts: all
  pre_tasks:

    # This is tempoarary until v2 is gone and we can rework things
    - name: Add origin remote to enable notes fetching
      command: "git remote add origin https://{{ item.canonical_name }}"
      args:
        chdir: "{{ ansible_user_dir }}/src/{{ item.canonical_name }}"
      with_items: "{{ zuul.projects }}"

  roles:
    - legacy-copy-project-config-scripts
    - add-sshkey
    - add-launchpad-credentials

Add an origin remote for tag-releases for notes
Add an origin remote for tag-releases for notes

tag-releases needs to fetch notes. To avoid touching the jenkins script
too much while v2 and v3 co-exist, just add the origin remote for all
projects in the pre-playbook.

Once v3 is rolled out fully and there is breathing room, this should be
reworked along with the contents of the script to meet all of the use
cases in a more native manner.

Change-Id: I8224ec098756874d5422fdb119d72ea1509b72a3
