发布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

@@ -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 }}