summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/setup-network/tasks
diff options
context:
space:
mode:
authorcarey.xu <carey.xuhan@huawei.com>2015-09-21 17:06:32 +0800
committercarey.xu <carey.xuhan@huawei.com>2015-09-22 18:01:38 +0800
commita2ea6270efc928dfb062cb32065162df4396b6a4 (patch)
tree95fff8d8e29f6e385e008edce4bd5637f30f2059 /deploy/adapters/ansible/roles/setup-network/tasks
parent6bd52b2de366a9c20e6c93ae7fef80f711dc6e7b (diff)
ntp configure bugfix
JIRA: COMPASS-68 Change-Id: I0ff0d382bbd9c6931cabe764f83343cfc1dbcafe Signed-off-by: carey.xu <carey.xuhan@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/setup-network/tasks')
-rw-r--r--deploy/adapters/ansible/roles/setup-network/tasks/main.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/deploy/adapters/ansible/roles/setup-network/tasks/main.yml b/deploy/adapters/ansible/roles/setup-network/tasks/main.yml
index 689e6e3d..8667a9b1 100644
--- a/deploy/adapters/ansible/roles/setup-network/tasks/main.yml
+++ b/deploy/adapters/ansible/roles/setup-network/tasks/main.yml
@@ -41,5 +41,4 @@
shell: python /opt/setup_networks/setup_networks.py
- name: add to boot scripts
- shell: update-rc.d net_init defaults 0 6
- when: ansible_os_family == "Debian"
+ service: name=net_init enabled=yes