Replaces variables inside the content.

def replace_content(content, project_vars):
    """
    Replaces variables inside the content.
    """

    for k, v in project_vars.items():
        content = content.replace(f'__{k}__', v)

    return content