def write_yum_repo(content, filename='ceph.repo'):
    repo_path = os.path.join('/etc/yum.repos.d', filename)
    write_file(repo_path, content)
add yum repo file in /etc/yum.repos.d/
dataset/ETHPy150Open ceph/ceph-deploy/ceph_deploy/hosts/remotes.py/write_yum_repo