From 35c64f91f4835f299cda4edbcb89c584c67fd71d Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Sun, 18 Sep 2016 20:37:31 -0400 Subject: [PATCH] deploy_monitors: use python2 for v2 code Signed-off-by: Patrick Donnelly --- 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 78518b4a3..13cc5fe7c 100644 --- a/roles/ceph-mon/tasks/deploy_monitors.yml +++ b/roles/ceph-mon/tasks/deploy_monitors.yml @@ -1,6 +1,6 @@ --- - name: generate monitor initial keyring - local_action: shell python -c "import os ; import struct ; import time; import base64 ; key = os.urandom(16) ; header = struct.pack('