From: Tino Schmeier Date: Fri, 3 Jun 2016 12:23:21 +0000 (+0200) Subject: - prepare for python3 X-Git-Tag: v1.0.6~95^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=5819736bb6dd6d025fb5c514a12723cd8adb3109;p=ceph-ansible.git - prepare for python3 --- 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