diff options
author | Harry Huang <huangxiangyu5@huawei.com> | 2017-06-26 10:21:17 +0800 |
---|---|---|
committer | Harry Huang <huangxiangyu5@huawei.com> | 2017-06-26 10:21:17 +0800 |
commit | 0ad9f476a6b7adb8ece6d4cf60d0204103992699 (patch) | |
tree | 177edf9a7d15a6c4cb47bf51b6f8482e2c6a9d7f /deploy/adapters/ansible/roles/config-compute | |
parent | ed147fd2ae4e8f8fdcfbc4b5e04602b316b466b8 (diff) |
Fix config-compute handler
The network restart handler comes at the end
of all tasks which cause pkg install task be
executed when network is not ready. Flush this
handler right after configure network tasks.
Change-Id: I98b9f6f0f2ec0b79632188a481673529a1b522bb
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/config-compute')
-rw-r--r-- | deploy/adapters/ansible/roles/config-compute/tasks/main.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deploy/adapters/ansible/roles/config-compute/tasks/main.yml b/deploy/adapters/ansible/roles/config-compute/tasks/main.yml index 1c5b4865..886a407f 100644 --- a/deploy/adapters/ansible/roles/config-compute/tasks/main.yml +++ b/deploy/adapters/ansible/roles/config-compute/tasks/main.yml @@ -14,6 +14,8 @@ notify: - restart network service +- meta: flush_handlers + - name: Install apt packages apt: pkg: "nfs-kernel-server" @@ -32,5 +34,3 @@ dest: /etc/exports notify: - restart nfs service - -- meta: flush_handlers |