From 7e610873a910180b9d7a63ead6498d18e52e5eb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Douglas=20Mendiz=C3=A1bal?= Date: Mon, 27 Apr 2020 15:58:39 -0500 Subject: [PATCH] Add zuul jobs Change-Id: I825abea71dc1f9bcee038a60ac6d23b66c05c7df --- .gitreview | 2 +- .zuul.yaml | 10 ++++++++++ setup.cfg | 2 +- tasks/main.yaml | 4 ++-- 4 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 .zuul.yaml 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"