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/etcd/tasks/certificates | |
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/etcd/tasks/certificates')
-rw-r--r-- | roles/etcd/tasks/certificates/deploy_ca.yml | 2 | ||||
-rw-r--r-- | roles/etcd/tasks/certificates/fetch_server_certificates_from_ca.yml | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/roles/etcd/tasks/certificates/deploy_ca.yml b/roles/etcd/tasks/certificates/deploy_ca.yml index 3d32290a2..bd4dafafd 100644 --- a/roles/etcd/tasks/certificates/deploy_ca.yml +++ b/roles/etcd/tasks/certificates/deploy_ca.yml @@ -6,6 +6,8 @@ when: not etcd_is_atomic | bool delegate_to: "{{ etcd_ca_host }}" run_once: true + register: result + until: result | success - file: path: "{{ item }}" diff --git a/roles/etcd/tasks/certificates/fetch_server_certificates_from_ca.yml b/roles/etcd/tasks/certificates/fetch_server_certificates_from_ca.yml index 00b8f4a0b..f4726940a 100644 --- a/roles/etcd/tasks/certificates/fetch_server_certificates_from_ca.yml +++ b/roles/etcd/tasks/certificates/fetch_server_certificates_from_ca.yml @@ -4,6 +4,8 @@ name: "etcd{{ '-' + etcd_version if etcd_version is defined else '' }}" state: present when: not etcd_is_containerized | bool + register: result + until: result | success - name: Check status of etcd certificates stat: |