Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve network resiliency #10

Merged
merged 3 commits into from
Jun 25, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions tasks/client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@
owner: "{{ minio_user }}"
group: "{{ minio_group }}"
mode: 0755
until: _download_client is succeeded
retries: 5
delay: 2
3 changes: 3 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
name: "{{ item }}"
state: present
with_items: "{{ ansible_support_packages }}"
until: _install_packages is succeeded
retries: 5
delay: 2

- name: create minio group
group:
Expand Down
11 changes: 11 additions & 0 deletions tasks/python_sni.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,18 @@
name: "{{ item.1 }}"
state: present
with_indexed_items: "{{ python_pip_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 }}"
until: _install_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
Expand All @@ -22,3 +28,8 @@
name: "{{ item }}"
state: present
with_items: "{{ python_sni_pip_dependencies }}"
until: _install_packages is succeeded
retries: 5
delay: 2


3 changes: 3 additions & 0 deletions tasks/server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
owner: "{{ minio_user }}"
group: "{{ minio_group }}"
mode: 0755
until: _download_server is succeeded
retries: 5
delay: 2

- name: generate the minio server envfile
template:
Expand Down