aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/config-osa/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/adapters/ansible/roles/config-osa/tasks')
-rwxr-xr-xdeploy/adapters/ansible/roles/config-osa/tasks/main.yml17
1 files changed, 5 insertions, 12 deletions
diff --git a/deploy/adapters/ansible/roles/config-osa/tasks/main.yml b/deploy/adapters/ansible/roles/config-osa/tasks/main.yml
index 2be4e646..05034001 100755
--- a/deploy/adapters/ansible/roles/config-osa/tasks/main.yml
+++ b/deploy/adapters/ansible/roles/config-osa/tasks/main.yml
@@ -429,15 +429,8 @@
- checkresult.rc == 0
- offline_deployment is defined and offline_deployment == "Disable"
-- name: Add sleep in host_power_action
- blockinfile:
- dest: /etc/ansible/roles/repo_build/tasks/repo_clone_git.yml
- block: |
- {% raw %}
- - name: Add sleep in host_power_action
- shell:
- sed -i '/return self.driver.host_power_action/i\ time.sleep(2)' manager.py
- args:
- chdir: "{{ repo_build_git_dir}}/nova/nova/compute"
- ignore_errors: true
- {% endraw %}
+- name: increase vif_plugging_timeout
+ lineinfile:
+ dest: /etc/ansible/roles/os_nova/templates/nova.conf.j2
+ regexp: '^vif_plugging_timeout'
+ line: 'vif_plugging_timeout = 30'