]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
- prepare for python3 841/head
authorTino Schmeier <tis@teuto.net>
Fri, 3 Jun 2016 12:23:21 +0000 (14:23 +0200)
committerTino Schmeier <tis@teuto.net>
Fri, 3 Jun 2016 12:23:21 +0000 (14:23 +0200)
roles/ceph-common/tasks/main.yml

index c9d6cf2ec19455775347b81f0bcea4da9b07621f..3846b2872d28932b3c99c98c324128626cc00c75 100644 (file)
   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