diff options
author | Luke Meyer <sosiouxme@gmail.com> | 2017-12-01 10:30:37 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-01 10:30:37 -0500 |
commit | eda433cad9347d9ea7a498beaf6a696a7bf063db (patch) | |
tree | 1961a3fa38ef26a429a6e5dbc7667891e28f9303 /roles/contiv | |
parent | b66f8b9b5f12333cd962ae9b7d1f41049343146a (diff) | |
parent | fbb4e1ca73fd39ce9f18fa7c6f05766ccb0e484a (diff) | |
download | openshift-eda433cad9347d9ea7a498beaf6a696a7bf063db.tar.gz openshift-eda433cad9347d9ea7a498beaf6a696a7bf063db.tar.bz2 openshift-eda433cad9347d9ea7a498beaf6a696a7bf063db.tar.xz openshift-eda433cad9347d9ea7a498beaf6a696a7bf063db.zip |
Merge pull request #6302 from sosiouxme/20170817-add-retries
retry package operations
Diffstat (limited to 'roles/contiv')
-rw-r--r-- | roles/contiv/tasks/download_bins.yml | 2 | ||||
-rw-r--r-- | roles/contiv/tasks/pkgMgrInstallers/centos-install.yml | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/roles/contiv/tasks/download_bins.yml b/roles/contiv/tasks/download_bins.yml index 319fce46c..741c1d1da 100644 --- a/roles/contiv/tasks/download_bins.yml +++ b/roles/contiv/tasks/download_bins.yml @@ -8,6 +8,8 @@ yum: name: bzip2 state: installed + register: result + until: result | success - name: Download Bins | Download Contiv tar file get_url: diff --git a/roles/contiv/tasks/pkgMgrInstallers/centos-install.yml b/roles/contiv/tasks/pkgMgrInstallers/centos-install.yml index 91e6aadf3..62b4716a3 100644 --- a/roles/contiv/tasks/pkgMgrInstallers/centos-install.yml +++ b/roles/contiv/tasks/pkgMgrInstallers/centos-install.yml @@ -3,6 +3,8 @@ yum: pkg=net-tools state=latest + register: result + until: result | success - name: PkgMgr RHEL/CentOS | Get openstack ocata rpm get_url: @@ -20,6 +22,8 @@ yum: name=/tmp/rdo-release-ocata-2.noarch.rpm state=present tags: - ovs_install + register: result + until: result | success - name: PkgMgr RHEL/CentOS | Install ovs yum: @@ -31,3 +35,5 @@ no_proxy: "{{ no_proxy|default('') }}" tags: - ovs_install + register: result + until: result | success |