mirror of
https://github.com/atosatto/ansible-minio.git
synced 2024-11-26 12:05:16 +01:00
retry every operation which requires access to external resources
This commit is contained in:
parent
b05757b1ba
commit
e31ba958f7
@ -7,3 +7,6 @@
|
||||
owner: "{{ minio_user }}"
|
||||
group: "{{ minio_group }}"
|
||||
mode: 0755
|
||||
until: _download_client is succeeded
|
||||
retries: 5
|
||||
delay: 2
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
@ -22,3 +28,8 @@
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
with_items: "{{ python_sni_pip_dependencies }}"
|
||||
until: _install_packages is succeeded
|
||||
retries: 5
|
||||
delay: 2
|
||||
|
||||
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user