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-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F841%2Fhead;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