project-config/playbooks/release/pre.yaml
Andreas Jaeger e117d34e91 ansible-lint: Handle some git warnings
Ignore some places where ansible warns about git usage.

Change-Id: I9c5c19cca8c1c32ee0cde85e2ec66140364c14bc
2017-10-29 15:37:22 +00:00

26 lines
907 B
YAML

- 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.values() | list }}"
# ANSIBLE0006: git remote add is not supported by ansible module
tags:
- skip_ansible_lint
roles:
- role: configure-git
git_config:
user.name: OpenStack Release Bot
user.email: infra-root@openstack.org
user.signingkey: infra-root@openstack.org
gitreview.username: release
- role: bindep
bindep_profile: test
bindep_dir: "src/{{ zuul.project.canonical_name }}"
- legacy-copy-project-config-scripts
- add-sshkey
- add-launchpad-credentials
- add-gpgkey