Add zuul jobs

Change-Id: I825abea71dc1f9bcee038a60ac6d23b66c05c7df
This commit is contained in:
Douglas Mendizábal 2020-04-27 15:58:39 -05:00
parent c33a9a7844
commit 7e610873a9
4 changed files with 14 additions and 4 deletions

View File

@ -1,4 +1,4 @@
[gerrit] [gerrit]
host=review.opendev.org host=review.opendev.org
port=29418 port=29418
project=openstack/ansible-role-thales-hsm.git project=openstack/ansible-role-lunasa-hsm.git

10
.zuul.yaml Normal file
View File

@ -0,0 +1,10 @@
- project:
check:
jobs:
- openstack-tox-linters
gate:
jobs:
- openstack-tox-linters
post:
jobs:
- publish-openstack-python-branch-tarball

View File

@ -5,7 +5,7 @@ description-file =
README.rst README.rst
author = TripleO Team author = TripleO Team
author-email = alee@redhat.com author-email = alee@redhat.com
home-page = https://github.com/vakwetu/ansible-role-lunasa-hsm home-page = https://opendev.org/openstack/ansible-role-lunasa-hsm
classifier = classifier =
License :: OSI Approved :: Apache Software License License :: OSI Approved :: Apache Software License
Development Status :: 4 - Beta Development Status :: 4 - Beta

View File

@ -60,11 +60,11 @@
echo 'copy' | /usr/safenet/lunaclient/bin/lunacm -c hagroup addMember \ echo 'copy' | /usr/safenet/lunaclient/bin/lunacm -c hagroup addMember \
-group {{ lunasa_ha_label }} \ -group {{ lunasa_ha_label }} \
-serialNumber {{ item.partition_serial }} \ -serialNumber {{ item.partition_serial }} \
-password {{ lunasa_partition_password }} -password {{ lunasa_partition_password }}
loop: "{{ lunasa_hsms }}" loop: "{{ lunasa_hsms }}"
loop_control: loop_control:
extended: yes extended: yes
when: ansible_loop.first != True when: not ansible_loop.first
register: result register: result
failed_when: failed_when:
- "'Command Result : No Error' not in result.stdout" - "'Command Result : No Error' not in result.stdout"