summaryrefslogtreecommitdiffstats
path: root/deployment
diff options
context:
space:
mode:
authorValerii Ponomarov <vponomar@redhat.com>2019-02-18 19:46:27 +0530
committerValerii Ponomarov <vponomar@redhat.com>2019-02-18 19:47:29 +0530
commit0ea733cd35198358332b0cddf9e30407a7cea3ba (patch)
treeb576b8a330d100c0a8bb87a758aa7d60a063ef8f /deployment
parent2035d7e63e5e33d3e79c785d2fe625b0d2c3ac28 (diff)
[Deployment] Add 1min sleep after yum update operation
To let system services start up in time. Change-Id: I4b4781119656c9fdc75017a28c80c20bdd0eae21
Diffstat (limited to 'deployment')
-rw-r--r--deployment/playbooks/roles/yum-update-and-reboot/tasks/main.yaml3
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)"