diff options
author | Valerii Ponomarov <vponomar@redhat.com> | 2019-02-18 19:46:27 +0530 |
---|---|---|
committer | Valerii Ponomarov <vponomar@redhat.com> | 2019-02-18 19:47:29 +0530 |
commit | 0ea733cd35198358332b0cddf9e30407a7cea3ba (patch) | |
tree | b576b8a330d100c0a8bb87a758aa7d60a063ef8f | |
parent | 2035d7e63e5e33d3e79c785d2fe625b0d2c3ac28 (diff) |
[Deployment] Add 1min sleep after yum update operation
To let system services start up in time.
Change-Id: I4b4781119656c9fdc75017a28c80c20bdd0eae21
-rw-r--r-- | deployment/playbooks/roles/yum-update-and-reboot/tasks/main.yaml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/deployment/playbooks/roles/yum-update-and-reboot/tasks/main.yaml b/deployment/playbooks/roles/yum-update-and-reboot/tasks/main.yaml index d53f5bd2..2ee501ad 100644 --- a/deployment/playbooks/roles/yum-update-and-reboot/tasks/main.yaml +++ b/deployment/playbooks/roles/yum-update-and-reboot/tasks/main.yaml @@ -41,4 +41,7 @@ connect_timeout: 5 state: started with_items: "{{ hostnames_for_reboot }}" + + - name: Sleep for some time to let services start up in time + shell: "sleep 60" when: "disable_yum_update_and_reboot is undefined or not (disable_yum_update_and_reboot | bool)" |