From 20c1accbfe6a5d1b93cbb67a5266974708802858 Mon Sep 17 00:00:00 2001 From: paulfantom Date: Mon, 25 Jun 2018 15:03:31 +0200 Subject: [PATCH] register variables --- tasks/client.yml | 1 + tasks/main.yml | 1 + tasks/python_sni.yml | 7 +++++-- tasks/server.yml | 1 + 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/tasks/client.yml b/tasks/client.yml index ba89342..059972e 100644 --- a/tasks/client.yml +++ b/tasks/client.yml @@ -6,6 +6,7 @@ owner: "root" group: "root" mode: 0755 + register: _download_client until: _download_client is succeeded retries: 5 delay: 2 diff --git a/tasks/main.yml b/tasks/main.yml index 27c447a..7522a4e 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -14,6 +14,7 @@ name: "{{ item }}" state: present with_items: "{{ minio_ansible_support_packages }}" + register: _install_packages until: _install_packages is succeeded retries: 5 delay: 2 diff --git a/tasks/python_sni.yml b/tasks/python_sni.yml index c5e5b2a..b36025f 100644 --- a/tasks/python_sni.yml +++ b/tasks/python_sni.yml @@ -4,6 +4,7 @@ name: "{{ item }}" state: present with_items: "{{ python_pip_packages }}" + register: _install_packages until: _install_packages is succeeded retries: 5 delay: 2 @@ -13,7 +14,8 @@ name: "{{ item }}" state: present with_items: "{{ python_sni_support_packages }}" - until: _install_packages is succeeded + register: _install_sni_packages + until: _install_sni_packages is succeeded retries: 5 delay: 2 @@ -24,7 +26,8 @@ pip: name: "{{ item }}" state: present - until: _install_packages is succeeded + register: _install_pip_packages + until: _install_pip_packages is succeeded retries: 5 delay: 2 with_items: diff --git a/tasks/server.yml b/tasks/server.yml index 1eea46c..ed0b5cd 100644 --- a/tasks/server.yml +++ b/tasks/server.yml @@ -27,6 +27,7 @@ owner: "root" group: "root" mode: 0755 + register: _download_server until: _download_server is succeeded retries: 5 delay: 2