]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Make the keyring world-readable
authorZack Cerza <zack@redhat.com>
Tue, 1 Mar 2016 00:19:51 +0000 (17:19 -0700)
committerZack Cerza <zack@redhat.com>
Tue, 1 Mar 2016 00:20:20 +0000 (17:20 -0700)
Signed-off-by: Zack Cerza <zack@redhat.com>
suites/ceph-ansible/smoke/2-setup/ceph_ansible.yaml

index 39fa64ba08e61efcea852ca380872df81bb93818..77935799c15ad8278032c17a7a9019625c77bc21 100644 (file)
@@ -1,8 +1,11 @@
 meta:
-- desc: "Build the cluster using ceph-ansible; then check health"
+- desc: "Build the cluster using ceph-ansible; then check health and make the keyring readable"
 tasks:
 - ceph_ansible:
 - exec:
     mon.a:
       - "sudo ceph health"
+- exec:
+    all:
+      - "KEYRING=/etc/ceph/ceph.client.admin.keyring; test -f $KEYRING && sudo chmod o+r $KEYRING"
 - install.ship_utilities: