mirror of
https://github.com/atosatto/ansible-minio.git
synced 2024-11-25 11:55:10 +01:00
37 lines
932 B
YAML
37 lines
932 B
YAML
---
|
|
- name: install python-pip
|
|
package:
|
|
name: "{{ item }}"
|
|
state: present
|
|
with_items: "{{ python_pip_packages }}"
|
|
register: _install_packages
|
|
until: _install_packages is succeeded
|
|
retries: 5
|
|
delay: 2
|
|
|
|
- name: install the Python SNI support packages
|
|
package:
|
|
name: "{{ item }}"
|
|
state: present
|
|
with_items: "{{ python_sni_support_packages }}"
|
|
register: _install_sni_packages
|
|
until: _install_sni_packages is succeeded
|
|
retries: 5
|
|
delay: 2
|
|
|
|
# There extra pip dependencies are needed to add SSL SNI support to
|
|
# Python version prior to 2.7.9. SNI support is needed by the Ansible
|
|
# get_url module in server.yml and client.yml.
|
|
- name: install the Python SNI python-pip dependencies.
|
|
pip:
|
|
name: "{{ item }}"
|
|
state: present
|
|
register: _install_pip_packages
|
|
until: _install_pip_packages is succeeded
|
|
retries: 5
|
|
delay: 2
|
|
with_items:
|
|
- pyopenssl
|
|
- ndg-httpsclient
|
|
- pyasn1
|