def get_rsync_configs():
    if 'deploy' in configs:
        for item in configs['deploy']:
            if item['type'] == 'rsync':
                return item
    return None

# cannot put this block in deploy_rsync() for env.hosts
dataset/ETHPy150Open tankywoo/simiki/simiki/conf_templates/fabfile.py/get_rsync_configs/original