From 5819736bb6dd6d025fb5c514a12723cd8adb3109 Mon Sep 17 00:00:00 2001 From: Tino Schmeier Date: Fri, 3 Jun 2016 14:23:21 +0200 Subject: [PATCH] - prepare for python3 --- roles/ceph-common/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ceph-common/tasks/main.yml b/roles/ceph-common/tasks/main.yml index c9d6cf2ec..3846b2872 100644 --- a/roles/ceph-common/tasks/main.yml +++ b/roles/ceph-common/tasks/main.yml @@ -170,7 +170,7 @@ when: cephx or generate_fsid - name: generate cluster uuid - local_action: shell python -c 'import uuid; print str(uuid.uuid4())' | tee {{ fetch_directory }}/ceph_cluster_uuid.conf + local_action: shell python -c 'import uuid; print(str(uuid.uuid4()))' | tee {{ fetch_directory }}/ceph_cluster_uuid.conf creates="{{ fetch_directory }}/ceph_cluster_uuid.conf" register: cluster_uuid become: false