修复配置文件radiusd.conf.j2笔误.

This commit is contained in:
lijia
2021-02-18 10:48:41 +08:00
parent 3ff5568a48
commit f6d562e2bb
11 changed files with 15 additions and 170 deletions

View File

@@ -115,7 +115,7 @@
tags: template
- name: "create symbolic link"
shell: ln -s /etc/raddb/mods-available/sql /etc/raddb/mods-enabled/
shell: ln -sf /etc/raddb/mods-available/sql /etc/raddb/mods-enabled/
args:
executable: /bin/bash
tags: shell

View File

@@ -44,7 +44,7 @@ log {
#
colourise = yes
NOT used.
#
file = ${logdir}/radius.log

View File

@@ -1,49 +0,0 @@
---
#- hosts: wangw
# roles:
# - wangw
# - wire_graft_devel
# - wire_graft
# vars_files:
# - wannat_deploy_env/all.yml
#- hosts: natgw
#roles:
#- wire_graft_devel
#- natgw
#vars_files:
#- wannat_deploy_env/all.yml
#- hosts: toroad
# roles:
# - wire_graft_devel
# - toroad
# vars_files:
# - wannat_deploy_env/all.yml
#
#- hosts: natgw
# roles:
# - natgw
# - wire_graft_devel
#
#
#
#- hosts: radius_client
# roles:
# - radius_client
# vars_files:
# - wannat_deploy_env/all.yml
- hosts: radius_server
roles:
- radius_server
vars_files:
- wannat_deploy_env/all.yml
#- hosts: pptpd
#roles:
#- pptpd
#vars_files:
#- wannat_deploy_env/all.yml

View File

@@ -24,9 +24,8 @@
- hosts: natgw
roles:
- wire_graft_devel
- natgw
- wire_graft_devel
- hosts: radius_client
roles:

View File

@@ -3,15 +3,21 @@ ansible_user=root
install_sapp=false
[wangw]
192.168.40.161
[natgw]
192.168.40.133
192.168.40.134
[toroad]
192.168.40.134
[pptpd]
192.168.40.133
[radius_client]
192.168.40.133
192.168.40.134
[radius_server]
192.168.40.137
192.168.44.71
[radius_client]
192.168.40.134

View File

@@ -1,23 +0,0 @@
wangw_global:
wangw:
NAT_GW_tunnel_device: "enp6s0"
NAT_GW_tunnel_ip: "192.168.40.134"
redis_server_ip: "192.168.44.71"
redis_server_port: 7002
redis_index: 0
toroad:
redis_server_ip: "192.168.44.71"
redis_server_port: 7002
redis_index: 0
wiregraft:
identification_by_which_device: "enp6s0"
toroad_server_ip: "192.168.40.134"
rpm_files:
wangw_rpm_file: "libwangw-1.2.1.cb66dda-2.el7.x86_64.rpm"
wire_graft_rpm_file: "libwire_graft-1.2.0.7fdacbc-2.el7.x86_64.rpm"
wire_graft_devel_rpm_file: "libwire_graft-devel-1.2.0.7fdacbc-2.el7.x86_64.rpm"
toroad_rpm_file: "toroad-1.1.11.b0562a5-2.el7.x86_64.rpm"

View File

@@ -1,12 +0,0 @@
[all:vars]
ansible_user=root
install_sapp=false
install_device_sn=false
install_device_tag=false
[wangw]
192.168.40.161
[toroad]
192.168.40.134

View File

@@ -1,26 +0,0 @@
wangw_global:
wangw:
NAT_GW_tunnel_device: "enp8s0"
NAT_GW_tunnel_ip: "192.168.40.133"
NAT_GW_tunnel_listen_port: 3544
NAT_GW_tunnel_remote_port: 3544
redis_server_ip: "192.168.44.3"
redis_server_port: 7002
redis_index: 0
toroad:
redis_server_ip: "192.168.44.3"
redis_server_port: 7002
redis_index: 0
wiregraft:
identification_by_which_device: "enp8s0"
toroad_server_ip: "192.168.40.133"
toroad_server_port: "8888"
rpm_files:
wangw_rpm_file: "libwangw-1.2.1.cb66dda-2.el7.x86_64.rpm"
wire_graft_rpm_file: "libwire_graft-1.2.0.7fdacbc-2.el7.x86_64.rpm"
wire_graft_devel_rpm_file: "libwire_graft-devel-1.2.0.7fdacbc-2.el7.x86_64.rpm"
toroad_rpm_file: "toroad-1.1.11.b0562a5-2.el7.x86_64.rpm"

View File

@@ -1,12 +0,0 @@
[all:vars]
ansible_user=root
install_sapp=false
install_device_sn=false
install_device_tag=false
[wangw]
192.168.40.21
[toroad]
192.168.40.133

View File

@@ -1,26 +0,0 @@
wangw_global:
wangw:
NAT_GW_tunnel_device: "enp8s0"
NAT_GW_tunnel_ip: "192.168.40.133"
NAT_GW_tunnel_listen_port: 3544
NAT_GW_tunnel_remote_port: 3544
redis_server_ip: "192.168.44.3"
redis_server_port: 7002
redis_index: 0
toroad:
redis_server_ip: "192.168.44.3"
redis_server_port: 7002
redis_index: 0
wiregraft:
identification_by_which_device: "enp8s0"
toroad_server_ip: "192.168.40.133"
toroad_server_port: "8888"
rpm_files:
wangw_rpm_file: "libwangw-1.2.1.cb66dda-2.el7.x86_64.rpm"
wire_graft_rpm_file: "libwire_graft-1.2.0.7fdacbc-2.el7.x86_64.rpm"
wire_graft_devel_rpm_file: "libwire_graft-devel-1.2.0.7fdacbc-2.el7.x86_64.rpm"
toroad_rpm_file: "toroad-1.1.11.b0562a5-2.el7.x86_64.rpm"

View File

@@ -1,12 +0,0 @@
[all:vars]
ansible_user=root
install_sapp=false
install_device_sn=false
install_device_tag=false
[wangw]
192.168.40.137
[toroad]
192.168.40.133