Use print function

In py3 usage of print as a fucntion instead of a stetement is a
hard requirement. This patch fixes symlink of python ceph libraries.

Change-Id: I07db988f607b8f4ab041437edff2903a8e07e381
This commit is contained in:
Dmitriy Rabotyagov 2020-01-15 14:44:26 +02:00 committed by Dmitriy Rabotyagov (noonedeadpunk)
parent ec77f7a895
commit b9610ff808
1 changed files with 3 additions and 3 deletions

View File

@ -37,19 +37,19 @@
register: rbd_module_path
- name: Register cephfs module path
command: "{{ ceph_python_interp }} -c 'import cephfs; print cephfs.__file__'"
command: "{{ ceph_python_interp }} -c 'import cephfs; print(cephfs.__file__)'"
changed_when: false
failed_when: false
register: cephfs_module_path
- name: Register ceph_volume_client path
command: "{{ ceph_python_interp }} -c 'import ceph_volume_client; print ceph_volume_client.__file__'"
command: "{{ ceph_python_interp }} -c 'import ceph_volume_client; print(ceph_volume_client.__file__)'"
changed_when: false
failed_when: false
register: ceph_volume_client_module_path
- name: Register ceph_argparse path
command: "{{ ceph_python_interp }} -c 'import ceph_argparse; print ceph_argparse.__file__'"
command: "{{ ceph_python_interp }} -c 'import ceph_argparse; print(ceph_argparse.__file__)'"
changed_when: false
failed_when: false
register: ceph_argparse_module_path