发布firewall的20.11版本

This commit is contained in:
liuxueli
2020-10-15 15:50:19 +08:00
parent fcb6118c31
commit 1a173bddcf
67 changed files with 67 additions and 29 deletions

View File

@@ -11,20 +11,21 @@
skip_broken: yes
vars:
fw_packages:
- /tmp/ansible_deploy/capture_packet_plug-3.0.2.09f193c-2.el7.x86_64.rpm
- /tmp/ansible_deploy/dns-2.0.8.beb1d09-2.el7.x86_64.rpm
- /tmp/ansible_deploy/ftp-1.0.6.2710506-2.el7.x86_64.rpm
- /tmp/ansible_deploy/fw_dns_plug-3.0.1.453c533-2.el7.x86_64.rpm
- /tmp/ansible_deploy/fw_ftp_plug-3.0.0.7a867ea-2.el7.x86_64.rpm
- /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.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.9.810857d-2.el7.x86_64.rpm
- /tmp/ansible_deploy/ssl-1.0.8.0068bd9-2.el7.x86_64.rpm
- /tmp/ansible_deploy/tsg_conn_sketch-2.0.5.63c1e51-2.el7.x86_64.rpm
- /tmp/ansible_deploy/capture_packet_plug-3.0.3.cc6f3cf-2.el7.x86_64.rpm
- /tmp/ansible_deploy/conn_telemetry-1.0.2.8d6da43-2.el7.x86_64.rpm
- /tmp/ansible_deploy/dns-2.0.9.b639626-2.el7.x86_64.rpm
- /tmp/ansible_deploy/ftp-1.0.8.13d5fda-2.el7.x86_64.rpm
- /tmp/ansible_deploy/fw_dns_plug-3.0.2.dab58fa-2.el7.x86_64.rpm
- /tmp/ansible_deploy/fw_ftp_plug-3.0.1.0a78573-2.el7.x86_64.rpm
- /tmp/ansible_deploy/fw_http_plug-3.0.1.0c7e082-2.el7.x86_64.rpm
- /tmp/ansible_deploy/fw_mail_plug-3.0.1.02465eb-2.el7.x86_64.rpm
- /tmp/ansible_deploy/fw_quic_plug-3.0.1.b790ee1-2.el7.x86_64.rpm
- /tmp/ansible_deploy/fw_ssl_plug-3.0.3.71f6bff-2.el7.x86_64.rpm
- /tmp/ansible_deploy/http-2.0.5.c61ad9a-2.el7.x86_64.rpm
- /tmp/ansible_deploy/mail-1.0.9.c1d3bde-2.el7.x86_64.rpm
- /tmp/ansible_deploy/quic-1.1.10.c2b90a0-2.el7.x86_64.rpm
- /tmp/ansible_deploy/ssl-1.0.9.69f3742-2.el7.x86_64.rpm
- /tmp/ansible_deploy/tsg_conn_sketch-2.0.6.abb4f4d-2.el7.x86_64.rpm
- name: "Template the tsgconf/main.conf"
template:

View File

@@ -10,20 +10,20 @@
skip_broken: yes
vars:
packages:
- /tmp/ansible_deploy/libMESA_field_stat-1.0.1.852c2df-1.el7.x86_64.rpm
- /tmp/ansible_deploy/libMESA_field_stat2-2.9.1.d80b5fb-2.el7.x86_64.rpm
- /tmp/ansible_deploy/libMESA_handle_logger-2.0.4.1502550-2.el7.x86_64.rpm
- /tmp/ansible_deploy/libMESA_htable-3.10.11.6275308-1.el7.x86_64.rpm
- /tmp/ansible_deploy/libMESA_prof_load-1.0.5.bf755de-1.el7.x86_64.rpm
- /tmp/ansible_deploy/libWiredLB-2.0.3.c7d131b-1.el7.x86_64.rpm
- /tmp/ansible_deploy/libcjson-1.7.8.542ad7f-1.el7.x86_64.rpm
- /tmp/ansible_deploy/libdocumentanalyze-2.0.4.efdfc29-1.el7.x86_64.rpm
- /tmp/ansible_deploy/libmaatframe-3.0.7.34de556-2.el7.x86_64.rpm
- /tmp/ansible_deploy/librulescan-2.2.0.900d2b3-2.el7.x86_64.rpm
- /tmp/ansible_deploy/libwiredcfg-2.0.2.7ce1eea-1.el7.x86_64.rpm
- /tmp/ansible_deploy/lz4-1.7.5-3.el7.x86_64.rpm
- /tmp/ansible_deploy/libcjson-1.7.10.ab2896f-2.el7.x86_64.rpm
- /tmp/ansible_deploy/libdocumentanalyze-2.0.6.2d1abe0-2.el7.x86_64.rpm
- /tmp/ansible_deploy/libmaatframe-3.1.1.b6ea144-2.el7.x86_64.rpm
- /tmp/ansible_deploy/libMESA_field_stat-1.0.2.6d45eed-2.el7.x86_64.rpm
- /tmp/ansible_deploy/libMESA_field_stat2-2.9.4.4e2dd78-2.el7.x86_64.rpm
- /tmp/ansible_deploy/libMESA_handle_logger-2.0.7.cb4ad71-2.el7.x86_64.rpm
- /tmp/ansible_deploy/libMESA_htable-3.10.12.cf4ccfc-2.el7.x86_64.rpm
- /tmp/ansible_deploy/libMESA_prof_load-1.0.6.c6da36a-2.el7.x86_64.rpm
- /tmp/ansible_deploy/librdkafka-0.11.4-1.el7.x86_64.rpm
- /tmp/ansible_deploy/libtsglua-1.0.7.0864e4a-2.el7.x86_64.rpm
- /tmp/ansible_deploy/librulescan-2.2.1.1716a7b-2.el7.x86_64.rpm
- /tmp/ansible_deploy/libtsglua-1.0.8.0dbf2e6-2.el7.x86_64.rpm
- /tmp/ansible_deploy/libwiredcfg-2.0.6.67ae0ab-2.el7.x86_64.rpm
- /tmp/ansible_deploy/libWiredLB-2.0.5.4629165-2.el7.x86_64.rpm
- /tmp/ansible_deploy/lz4-1.7.5-3.el7.x86_64.rpm
- name: "mkdir /etc/ld.so.conf.d/"
file:

View File

@@ -0,0 +1,23 @@
---
- name: "copy radius rpms to destination server"
copy:
src: "{{ role_path }}/files/"
dest: /tmp/ansible_deploy/
- name: "install firewall packages"
yum:
name: "{{ radius_packages }}"
state: present
skip_broken: yes
vars:
radius_packages:
- /tmp/ansible_deploy/radius-1.0.2.7bddf74-2.el7.x86_64.rpm
- /tmp/ansible_deploy/ntc_radius_plug-1.0.1.57ab95a-2.el7.x86_64.rpm
- name: "Template the conf/radius/radius.conf"
template:
src: "{{ role_path }}/templates/radius.conf.j2"
dest: /home/mesasoft/sapp_run/conf/radius/radius.conf
tags: template

View File

@@ -0,0 +1,14 @@
[RADIUS_PLUG]
DEVICE_ID=0
BROKERLIST={{ log_kafkabrokers.address }}
COLLECT_TOPIC=RADIUS-RECORD-LOG
SERVICE_ID=162
NIC_NAME={{ nic_mgr.name }}
LOG_PATH=./log/ntc_radius_plug/ntc_radius_plug
LOG_LEVEL=10
[CONFIG]
LOG_PATH=./log/radius/radius
FS_SERVER_IP=127.0.0.1
FS_SERVER_PORT=8125
STAT_CYCLE=30
LOG_LEVEL={{ tsg_log_level }}

Binary file not shown.

View File

@@ -13,7 +13,7 @@
- name: "install sapp rpms from localhost"
yum:
name:
- /tmp/ansible_deploy/sapp-4.1.7.4f2839a-2.el7.x86_64.rpm
- /tmp/ansible_deploy/sapp-4.1.11.3fb4f0b-2.el7.x86_64.rpm
state: present
skip_broken: yes

View File

@@ -6,6 +6,6 @@
- name: "install tsg_master from localhost"
yum:
name:
- /tmp/ansible_deploy/tsg_master-3.2.9.d1a6f00-2.el7.x86_64.rpm
- /tmp/ansible_deploy/tsg_master-3.3.2.899ae69-2.el7.x86_64.rpm
state: present
skip_broken: yes