aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarry Huang <huangxiangyu5@huawei.com>2018-07-19 20:22:33 +0800
committerHarry Huang <huangxiangyu5@huawei.com>2018-07-20 15:16:55 +0800
commitf507b0e1399bf86adc0ebe7272c89313b7ad3a43 (patch)
treeac43ecb3be4f245be8217ff2c83ae3c09223df8f
parent9edbc92c22cddb01658df1cd5724f5ec90e7f2e4 (diff)
Set pre-staged retry to 120
JIRA: COMPASS-607 Change-Id: Ica0938a065c236dc041eb6cdf60739274af0e519 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
-rwxr-xr-xdeploy/adapters/ansible/roles/config-osa/tasks/main.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/config-osa/tasks/main.yml b/deploy/adapters/ansible/roles/config-osa/tasks/main.yml
index 3f9dbe1f..eca7ca56 100755
--- a/deploy/adapters/ansible/roles/config-osa/tasks/main.yml
+++ b/deploy/adapters/ansible/roles/config-osa/tasks/main.yml
@@ -362,3 +362,9 @@
dest: /etc/ansible/roles/lxc_hosts/vars/ubuntu-16.04.yml
insertafter: '^ cache_prep_commands:'
line: ' rm /etc/resolv.conf || true'
+
+- name: set pre-staged retry to 120
+ replace:
+ dest: /etc/ansible/roles/lxc_hosts/tasks/lxc_cache_preparation_systemd_new.yml
+ regexp: '^ retries: 60'
+ replace: ' retries: 120'