frank6866.pip
pip
This role installs pip and sets up a repository mirror.
Role Variables
There are only two variables for the repository mirror, with the default values shown below:
pip_index_url
: http://mirrors.aliyun.com/pypi/simple/pip_trusted_host
: mirrors.aliyun.com
Usually, you don’t need to change these.
Example Playbook
Here’s an example of how to use this role (you can pass variables as needed):
- hosts: servers
roles:
- { role: frank6866.pip }
License
MIT