Fix zuul clonemap

Since the inclusion of ansible-hardening, we changed the clonemap
regex, but we didn't count the right amount of capturing brackets.

The brackreference we should use in our new case (since the
addition of extra brackets) should be 2 instead of 1.

Change-Id: Ib15c28b65f8bb5863a26a4c63d1e55b428b5ff4d
This commit is contained in:
Jean-Philippe Evrard 2017-10-04 13:29:37 +01:00
parent a95896d0d2
commit 1377af3d44

View File

@ -86,7 +86,7 @@
- name: 'openstack/openstack-ansible-(.*)'
dest: '{{ role_path_default }}/\1'
- name: 'openstack/(?!(openstack-ansible|ansible-hardening))(.*)'
dest: '/tmp/openstack/\1'
dest: '/tmp/openstack/\2'
dest: "/tmp/zuul-clonemap.yml"
when:
- _zuul_cloner_check.rc == 0