- name: Restore PyPI proxy configuration hosts: all gather_facts: no tasks: - name: Remove custom index for pip based installs file: path: ~/.pip/pip.conf state: absent - name: Remove custom index for easy_install based installs file: path: ~/.pydistutils.cfg state: absent