发布firewall的20.11版本
This commit is contained in:
Binary file not shown.
BIN
roles/radius/files/radius-1.0.2.7bddf74-2.el7.x86_64.rpm
Normal file
BIN
roles/radius/files/radius-1.0.2.7bddf74-2.el7.x86_64.rpm
Normal file
Binary file not shown.
23
roles/radius/tasks/main.yml
Normal file
23
roles/radius/tasks/main.yml
Normal 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
|
||||
|
||||
14
roles/radius/templates/radius.conf
Normal file
14
roles/radius/templates/radius.conf
Normal 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 }}
|
||||
Reference in New Issue
Block a user