From a7b7735b6fd23985d24a492f1bf4c5be7f1961b2 Mon Sep 17 00:00:00 2001 From: Ha Phan Date: Thu, 21 Jun 2018 16:08:39 +0800 Subject: [PATCH] ceph-mon: Generate initial keyring Minor fix so that initial keyring can be generated using python3. Signed-off-by: Ha Phan --- roles/ceph-mon/tasks/deploy_monitors.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ceph-mon/tasks/deploy_monitors.yml b/roles/ceph-mon/tasks/deploy_monitors.yml index 391e687c5..bc758c014 100644 --- a/roles/ceph-mon/tasks/deploy_monitors.yml +++ b/roles/ceph-mon/tasks/deploy_monitors.yml @@ -2,7 +2,7 @@ - name: generate monitor initial keyring local_action: module: shell - python -c "import os ; import struct ; import time; import base64 ; key = os.urandom(16) ; header = struct.pack('