diff --git a/tasks/repo_build_install.yml b/tasks/repo_build_install.yml index f66c4b1..59d5e39 100644 --- a/tasks/repo_build_install.yml +++ b/tasks/repo_build_install.yml @@ -20,7 +20,7 @@ when: - ansible_pkg_mgr in ['yum', 'dnf'] register: _add_yum_keys - until: _add_yum_keys | success + until: _add_yum_keys is success retries: 5 delay: 2 @@ -36,7 +36,7 @@ when: - ansible_pkg_mgr in ['yum', 'dnf'] register: install_epel_repo - until: install_epel_repo|success + until: install_epel_repo is success retries: 5 delay: 2 @@ -47,6 +47,6 @@ update_cache: "{{ (ansible_pkg_mgr == 'apt' or ansible_pkg_mgr == 'zypper') | ternary('yes', omit) }}" cache_valid_time: "{{ (ansible_pkg_mgr == 'apt') | ternary(cache_timeout, omit) }}" register: install_packages - until: install_packages | success + until: install_packages is success retries: 5 delay: 2 diff --git a/tasks/repo_build_prepare.yml b/tasks/repo_build_prepare.yml index 2253a78..825cfd4 100644 --- a/tasks/repo_build_prepare.yml +++ b/tasks/repo_build_prepare.yml @@ -106,7 +106,7 @@ --constraint {{ repo_build_release_path }}/requirements_constraints.txt {{ pip_install_options }} register: install_packages - until: install_packages | success + until: install_packages is success retries: 5 delay: 5 rescue: @@ -120,7 +120,7 @@ --constraint {{ repo_build_release_path }}/requirements_constraints.txt {{ pip_install_options }} register: install_packages - until: install_packages | success + until: install_packages is success retries: 5 delay: 5 diff --git a/tasks/repo_build_wheels.yml b/tasks/repo_build_wheels.yml index 6ffe20b..6fa4ec9 100644 --- a/tasks/repo_build_wheels.yml +++ b/tasks/repo_build_wheels.yml @@ -132,7 +132,7 @@ dest: "/opt/get-pip.py" force: no register: _get_pip - until: _get_pip | success + until: _get_pip is success retries: 10 delay: 5 diff --git a/tasks/repo_clone_git.yml b/tasks/repo_clone_git.yml index fc92b1d..b302773 100644 --- a/tasks/repo_clone_git.yml +++ b/tasks/repo_clone_git.yml @@ -47,6 +47,6 @@ (item['name'] in slurp_requirements.content | b64decode | splitlines) or ((groups[item['project_group']] is defined) and (groups[item['project_group']] | length > 0)) register: _git_clone - until: _git_clone | success + until: _git_clone is success delay: 5 retries: 10