From 7107ed60659e23863ffcd227600bf741489f24d8 Mon Sep 17 00:00:00 2001 From: wutianwei Date: Wed, 21 Jun 2017 11:02:26 +0800 Subject: Support Centos7 1. install the yum packages 2. add the ifcfg scripts to adapt Centos7 3. change MaxSession to 100 4. if setup-host failed, retry to run the failed container Change-Id: I57589d38f6af1677cb889875c85d6b8bac5c80d0 Signed-off-by: wutianwei --- .../ansible/roles/config-controller/tasks/Ubuntu.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 deploy/adapters/ansible/roles/config-controller/tasks/Ubuntu.yml (limited to 'deploy/adapters/ansible/roles/config-controller/tasks/Ubuntu.yml') diff --git a/deploy/adapters/ansible/roles/config-controller/tasks/Ubuntu.yml b/deploy/adapters/ansible/roles/config-controller/tasks/Ubuntu.yml new file mode 100644 index 00000000..53c2d502 --- /dev/null +++ b/deploy/adapters/ansible/roles/config-controller/tasks/Ubuntu.yml @@ -0,0 +1,15 @@ +############################################################################## +# Copyright (c) 2017 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: configure controller network + template: + src: controller.j2 + dest: /etc/network/interfaces + notify: + - restart network service -- cgit 1.2.3-korg