Compare commits

...

2 Commits

Author SHA1 Message Date
zhangzhihan
14e12ec736 update 2020-09-14 21:49:50 +08:00
zhangzhihan
198f0ab8a0 20.07 2020-07-28 14:55:32 +08:00
15 changed files with 20 additions and 8 deletions

View File

@@ -5,19 +5,19 @@ package_source=local
[pc-as-tun-mode]
[blade-mxn]
192.168.40.170
1.1.1.1 device_id=1
[blade-00]
192.168.40.166 vvipv4_1= vvipv4_2= vvipv6_1= vvipv6_2=
1.1.1.1 device_id=1 vvipv4_1= vvipv4_2= vvipv6_1= vvipv6_2=
[blade-01]
192.168.40.167
1.1.1.1 device_id=1
[blade-02]
192.168.40.168
1.1.1.1 device_id=1
[blade-03]
192.168.40.169
1.1.1.1 device_id=1
[Functional_Host:children]
blade-00

View File

@@ -10,7 +10,7 @@
- name: install certstore
yum:
name:
- /tmp/ansible_deploy/certstore-v20.05.0f61dde-1.el7.centos.x86_64.rpm
- /tmp/ansible_deploy/certstore-2.1.2.20200728.7515a19-1.el7.x86_64.rpm
state: present
- name: template certstore configure file

View File

@@ -20,7 +20,7 @@
- /tmp/ansible_deploy/fw_http_plug-3.0.0.1ca1c65-2.el7.x86_64.rpm
- /tmp/ansible_deploy/fw_mail_plug-3.0.0.3b4e481-2.el7.x86_64.rpm
- /tmp/ansible_deploy/fw_quic_plug-3.0.0.b06d39c-2.el7.x86_64.rpm
- /tmp/ansible_deploy/fw_ssl_plug-3.0.0.3a29c3f-2.el7.x86_64.rpm
- /tmp/ansible_deploy/fw_ssl_plug-3.0.1.7ea9976-2.el7.x86_64.rpm
- /tmp/ansible_deploy/http-2.0.3.9218b4b-2.el7.x86_64.rpm
- /tmp/ansible_deploy/mail-1.0.7.9e3be05-2.el7.x86_64.rpm
- /tmp/ansible_deploy/quic-1.1.6.d6755d8-2.el7.x86_64.rpm

Binary file not shown.

View File

@@ -119,6 +119,7 @@ maat_redis_port_range={{ maat_redis_server.port }}
maat_redis_db_index={{ maat_redis_server.db }}
effect_interval_s=1
#accept_tags={"tags":[{"tag":"location","value":"Astana"}]}
accept_path=/opt/tsg/etc/tsg_device_tag.json
[dynamic_maat]
maat_input_mode=1

View File

@@ -0,0 +1,9 @@
- name: "create /opt/tsg/etc/"
file:
path: /opt/proxy_status
state: directory
- name: "Template tsg_device_tag.json"
template:
src: "{{ role_path }}/templates/tsg_device_tag.json.j2"
dest: /opt/tsg/etc/tsg_device_tag.json

View File

@@ -0,0 +1,2 @@
[MAAT]
ACCEPT_TAGS={"tags":[{"tag":"device_id","value":"{{ device_id }}"}]}

View File

@@ -6,6 +6,6 @@
- name: "install tsg_master from localhost"
yum:
name:
- /tmp/ansible_deploy/tsg_master-3.0.3.3c9cf15-2.el7.x86_64.rpm
- /tmp/ansible_deploy/tsg_master-3.0.4.40fa047-2.el7.x86_64.rpm
state: present
skip_broken: yes