diff options
author | chigang <chigang@huawei.com> | 2017-07-03 14:40:34 +0800 |
---|---|---|
committer | chigang <chigang@huawei.com> | 2017-07-03 15:35:45 +0800 |
commit | d529e77a45c77c10ac6970ca9e733e92e89d138f (patch) | |
tree | ccfe80af7b21392c335cb56b2afb6843502dc942 /deploy/adapters/ansible/roles/setup-host/tasks/main.yml | |
parent | 06b95e349cf3e6bc5d45b7030683d53eeae490ec (diff) |
Fix DNS flush
JIRA:-
It doesn't need to config DNS in ansible roles, just need to
set NAMESERVERS variable
Change-Id: I37a70b32c766c1fad7afa5289ffbbc27b956b2d5
Signed-off-by: chigang <chigang@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/setup-host/tasks/main.yml')
-rw-r--r-- | deploy/adapters/ansible/roles/setup-host/tasks/main.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/deploy/adapters/ansible/roles/setup-host/tasks/main.yml b/deploy/adapters/ansible/roles/setup-host/tasks/main.yml index e7aabcbb..73f572ea 100644 --- a/deploy/adapters/ansible/roles/setup-host/tasks/main.yml +++ b/deploy/adapters/ansible/roles/setup-host/tasks/main.yml @@ -1,11 +1,11 @@ -############################################################################## +# ############################################################################# # Copyright (c) 2016 HUAWEI TECHNOLOGIES CO.,LTD and others. # # All rights reserved. This program and the accompanying materials # are made available under the terms of the Apache License, Version 2.0 # which accompanies this distribution, and is available at # http://www.apache.org/licenses/LICENSE-2.0 -############################################################################## +# ############################################################################# --- - name: setup hosts shell: "export ANSIBLE_LOG_PATH=/var/ansible/run/openstack_ocata-opnfv2/ansible.log; \ @@ -27,7 +27,7 @@ -e force_containers_data_destroy=yes > /dev/null;" with_items: - "{{ failed_container.stdout_lines }}" - ignore_errors: True + ignore_errors: "True" - name: retry to setup failed_container shell: "export ANSIBLE_LOG_PATH=/var/ansible/run/openstack_ocata-opnfv2/ansible.log; \ |