Fix release-yaml-file-prep.py to include ansible-hardening

Since openstack-ansible-security renamed to ansible-hardening we haven't
been releasing/tagging ansible-hardening.

This patch changes the regex to include ansible-hardening so we will
release and tag ansible-hardening as we were before.

Change-Id: Iea5f639dd7c8348167d0a7f8079de19ad5dcf8a8
This commit is contained in:
Andy McCrae 2017-09-12 11:22:06 -06:00 committed by Major Hayden
parent 9b9dde4745
commit be2c81b47a

View File

@ -109,7 +109,7 @@ def main():
projects = []
# Prepare the regex match
regex = re.compile('^.*openstack/openstack-ansible.*$')
regex = re.compile('^.*openstack/(ansible-hardening|openstack-ansible.*)$')
# Loop through the list of roles
for role_data in reqs: