JianHao | c8f1ee7 | 2017-10-31 18:01:07 +0800 | [diff] [blame] | 1 | # Copyright 2017-present Open Networking Foundation |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | --- |
| 16 | - hosts: {{ instance_name }} |
Andy Bavier | 83e0272 | 2017-11-13 17:18:41 -0700 | [diff] [blame] | 17 | gather_facts: False |
JianHao | c8f1ee7 | 2017-10-31 18:01:07 +0800 | [diff] [blame] | 18 | connection: ssh |
Andy Bavier | 7d01465 | 2017-11-14 17:26:18 -0700 | [diff] [blame] | 19 | user: {{ login_user }} |
JianHao | c8f1ee7 | 2017-10-31 18:01:07 +0800 | [diff] [blame] | 20 | vars: |
| 21 | - ts_ip: {{ flat_ip }} |
| 22 | - ts_mask: "255.255.255.0" |
JianHao | 52e0d0e | 2017-11-02 10:34:12 +0800 | [diff] [blame] | 23 | - ts_gateway: "103.0.0.254" |
Andy Bavier | 83e0272 | 2017-11-13 17:18:41 -0700 | [diff] [blame] | 24 | - ts_host_name: "{{ instance_name }}" |
Andy Bavier | f85dad3 | 2017-11-15 14:45:13 -0700 | [diff] [blame] | 25 | - tas_ip: "{{ tas_ip }}" |
| 26 | - ntp_ip: "{{ ntp_ip }}" |
Andy Bavier | 7d01465 | 2017-11-14 17:26:18 -0700 | [diff] [blame] | 27 | - password: "{{ login_password }}" |
JianHao | c8f1ee7 | 2017-10-31 18:01:07 +0800 | [diff] [blame] | 28 | roles: |
| 29 | - ts_config |
| 30 | |