diff --git a/.gitreview b/.gitreview index 8266c53..9c2cac1 100644 --- a/.gitreview +++ b/.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 diff --git a/.zuul.yaml b/.zuul.yaml new file mode 100644 index 0000000..e192004 --- /dev/null +++ b/.zuul.yaml @@ -0,0 +1,10 @@ +- project: + check: + jobs: + - openstack-tox-linters + gate: + jobs: + - openstack-tox-linters + post: + jobs: + - publish-openstack-python-branch-tarball diff --git a/setup.cfg b/setup.cfg index c430e9a..7b75856 100644 --- a/setup.cfg +++ b/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 diff --git a/tasks/main.yaml b/tasks/main.yaml index b16ede6..44c72cd 100644 --- a/tasks/main.yaml +++ b/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"