Browse Source

Add zuul jobs

Change-Id: I825abea71dc1f9bcee038a60ac6d23b66c05c7df
changes/92/723692/4
Douglas Mendizábal 1 year ago
parent
commit
7e610873a9
  1. 2
      .gitreview
  2. 10
      .zuul.yaml
  3. 2
      setup.cfg
  4. 4
      tasks/main.yaml

2
.gitreview

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

10
.zuul.yaml

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

2
setup.cfg

@ -5,7 +5,7 @@ description-file =
README.rst
author = TripleO Team
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 =
License :: OSI Approved :: Apache Software License
Development Status :: 4 - Beta

4
tasks/main.yaml

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

Loading…
Cancel
Save