def append_to_file(file_path, contents):
    with open(file_path, 'a') as f:
        f.write(contents)
append contents to file
dataset/ETHPy150Open ceph/ceph-deploy/ceph_deploy/hosts/remotes.py/append_to_file