]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph-iscsi: fix certificates generation and distribution
authorSébastien Han <seb@redhat.com>
Tue, 3 Apr 2018 13:20:06 +0000 (15:20 +0200)
committerSébastien Han <seb@redhat.com>
Wed, 4 Apr 2018 17:54:51 +0000 (19:54 +0200)
commit98f32bd51b74728ac5feff3d02a76f67e6218d04
tree4a97bba2268cf4b0f9c56350677f850aa2cdfdde
parent1347eca65d287127dfba486104ac3d8187207597
ceph-iscsi: fix certificates generation and distribution

Prior to this patch, the certificates where being generated on a single
node only (because of the run_once: true). Thus certificates were not
distributed on all the gateway nodes.

This would require a second ansible run to work. This patches fix the
creation and keys's distribution on all the nodes.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1540845
Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit f3caee84605e17f1fdfa4add634f0bf2c2cd510e)
Signed-off-by: Sébastien Han <seb@redhat.com>
group_vars/iscsi-gws.yml.sample
roles/ceph-iscsi-gw/defaults/main.yml
roles/ceph-iscsi-gw/tasks/deploy_ssl_keys.yml
roles/ceph-iscsi-gw/tasks/generate_crt.yml [deleted file]
roles/ceph-iscsi-gw/tasks/main.yml
tests/functional/centos/7/cluster/group_vars/iscsi-gws