20.05.01
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
# - tsg-env-mcn0
|
||||
- mrzcpd
|
||||
- sapp
|
||||
- tsg_master
|
||||
- kni
|
||||
- firewall
|
||||
- http_healthcheck
|
||||
@@ -44,6 +45,7 @@
|
||||
- mrzcpd
|
||||
- tsg-env-tun-mode
|
||||
- sapp
|
||||
- tsg_master
|
||||
- kni
|
||||
- firewall
|
||||
- http_healthcheck
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -10,7 +10,7 @@
|
||||
- name: install certstore
|
||||
yum:
|
||||
name:
|
||||
- /tmp/ansible_deploy/certstore-v20.04.3989072-1.el7.x86_64.rpm
|
||||
- /tmp/ansible_deploy/certstore-v20.05.0f61dde-1.el7.centos.x86_64.rpm
|
||||
state: present
|
||||
|
||||
- name: template certstore configure file
|
||||
|
||||
@@ -15,7 +15,7 @@ expire_after = 30
|
||||
local_debug = 1
|
||||
ca_path = ./cert/tango-ca-v3-trust-ca.pem
|
||||
untrusted_ca_path = ./cert/mesalab-ca-untrust.pem
|
||||
[NTC_MAAT]
|
||||
[MAAT]
|
||||
#Configure the load mode,
|
||||
#0: using the configuration distribution network
|
||||
#1: using local json
|
||||
@@ -43,3 +43,6 @@ port = 6379
|
||||
ip = {{ maat_redis_server.address }}
|
||||
port = {{ maat_redis_server.port }}
|
||||
dbindex = {{ maat_redis_server.db }}
|
||||
[stat]
|
||||
statsd_server=192.168.100.1
|
||||
statsd_port=8126
|
||||
|
||||
0
roles/firewall/files/ftp-1.0.4.5d3a283-2.el7.x86_64.rpm
Normal file → Executable file
0
roles/firewall/files/ftp-1.0.4.5d3a283-2.el7.x86_64.rpm
Normal file → Executable file
Binary file not shown.
BIN
roles/firewall/files/fw_ftp_plug-1.0.4.4a87a1e-2.el7.x86_64.rpm
Normal file
BIN
roles/firewall/files/fw_ftp_plug-1.0.4.4a87a1e-2.el7.x86_64.rpm
Normal file
Binary file not shown.
Binary file not shown.
BIN
roles/firewall/files/fw_http_plug-debuginfo-1.0.15.9cf2c79-2.el7.x86_64.rpm
Executable file
BIN
roles/firewall/files/fw_http_plug-debuginfo-1.0.15.9cf2c79-2.el7.x86_64.rpm
Executable file
Binary file not shown.
@@ -17,10 +17,10 @@
|
||||
- /tmp/ansible_deploy/ssl-1.0.0.73e5273-2.el7.x86_64.rpm
|
||||
- /tmp/ansible_deploy/tsg_conn_record-1.0.0.2155660-1.el7.centos.x86_64.rpm
|
||||
- /tmp/ansible_deploy/fw_dns_plug-debug-1.0.3.ea8e0f6-1.el7.centos.x86_64.rpm
|
||||
- /tmp/ansible_deploy/fw_ftp_plug-1.0.3.73372b5-2.el7.x86_64.rpm
|
||||
- /tmp/ansible_deploy/fw_ftp_plug-1.0.4.4a87a1e-2.el7.x86_64.rpm
|
||||
- /tmp/ansible_deploy/fw_ssl_plug-1.0.3.30fcf35-2.el7.x86_64.rpm
|
||||
- /tmp/ansible_deploy/fw_mail_plug-1.0.4.03e1b53-2.el7.x86_64.rpm
|
||||
- /tmp/ansible_deploy/fw_http_plug-1.0.14.2f3b011-2.el7.x86_64.rpm
|
||||
- /tmp/ansible_deploy/fw_http_plug-debuginfo-1.0.15.9cf2c79-2.el7.x86_64.rpm
|
||||
- /tmp/ansible_deploy/capture_packet_plug-debug-1.0.0.-1.el7.x86_64.rpm
|
||||
- /tmp/ansible_deploy/clotho-debug-1.0.0.-1.el7.x86_64.rpm
|
||||
|
||||
|
||||
Binary file not shown.
BIN
roles/kni/files/kni-20.05.01.7886a74-1.el7.x86_64.rpm
Executable file
BIN
roles/kni/files/kni-20.05.01.7886a74-1.el7.x86_64.rpm
Executable file
Binary file not shown.
@@ -7,7 +7,7 @@
|
||||
- name: "install kni rpms from localhost"
|
||||
yum:
|
||||
name:
|
||||
- /tmp/ansible_deploy/kni-20.04-1.el7.x86_64.rpm
|
||||
- /tmp/ansible_deploy/kni-20.05.01.7886a74-1.el7.x86_64.rpm
|
||||
state: present
|
||||
|
||||
- name: Template the kni.conf
|
||||
|
||||
Binary file not shown.
@@ -7,7 +7,6 @@
|
||||
- name: "install sapp rpms from localhost"
|
||||
yum:
|
||||
name:
|
||||
- /tmp/ansible_deploy/tsg_master-1.0.6.7c22c8d-2.el7.x86_64.rpm
|
||||
- /tmp/ansible_deploy/sapp-4.0.12.f8435d8-x86_64.rpm
|
||||
state: present
|
||||
skip_broken: yes
|
||||
|
||||
BIN
roles/telegraf/files/telegraf-1.13.0-1.x86_64.rpm
Normal file
BIN
roles/telegraf/files/telegraf-1.13.0-1.x86_64.rpm
Normal file
Binary file not shown.
22
roles/telegraf/tasks/main.yml
Normal file
22
roles/telegraf/tasks/main.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
- name: "copy telegraf.rpm to destination server"
|
||||
copy:
|
||||
src: "{{ role_path }}/files/"
|
||||
dest: /tmp
|
||||
|
||||
- name: "install telegraf"
|
||||
yum:
|
||||
name:
|
||||
- /tmp/telegraf-1.13.0-1.x86_64.rpm
|
||||
state: present
|
||||
|
||||
- name: "Templates telegraf.conf"
|
||||
template:
|
||||
src: "{{role_path}}/templates/telegraf.conf.j2"
|
||||
dest: /etc/telegraf/telegraf.conf
|
||||
tags: template
|
||||
|
||||
- name: "Start telegraf"
|
||||
systemd:
|
||||
name: telegraf.service
|
||||
state: restarted
|
||||
enabled: yes
|
||||
Binary file not shown.
BIN
roles/tfe/files/tfe-4.3.3.05c7528-1.el7.x86_64.rpm
Executable file
BIN
roles/tfe/files/tfe-4.3.3.05c7528-1.el7.x86_64.rpm
Executable file
Binary file not shown.
@@ -8,7 +8,7 @@
|
||||
yum:
|
||||
name:
|
||||
- /tmp/ansible_deploy/tfe-kmod-v1.0.5.20200408-1dkms.noarch.rpm
|
||||
- /tmp/ansible_deploy/tfe-4.3.2.374930d-1.el7.x86_64.rpm
|
||||
- /tmp/ansible_deploy/tfe-4.3.3.05c7528-1.el7.x86_64.rpm
|
||||
state: present
|
||||
|
||||
- name: "template tfe-env config"
|
||||
|
||||
@@ -8,6 +8,7 @@ nic_name={{ tsg_tun_mode.ethname }}
|
||||
nic_name={{ nic_mgr.name }}
|
||||
{% endif %}
|
||||
entrance_id=0
|
||||
device_id_filepath=/opt/tsg/etc/tsg_sn.json
|
||||
kafka_brokerlist= {{ log_kafkabrokers.address }}
|
||||
kafka_topic=PROXY-EVENT-LOG
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{% if tsg_access_type == 0 %}
|
||||
TFE_DEVICE_DATA_INCOMING={{ tsg_tun_mode.tun_name }}
|
||||
TFE_DEVICE_DATA_INCOMING=tun_kni
|
||||
{% else %}
|
||||
TFE_DEVICE_DATA_INCOMING={{ nic_data_incoming.name }}
|
||||
{% endif %}
|
||||
|
||||
@@ -50,6 +50,7 @@ cert_store_host= {{ cert_store_server.address }}
|
||||
cert_store_port= {{ cert_store_server.port }}
|
||||
ca_path=resource/tfe/tango-ca-v3-trust-ca.pem
|
||||
untrusted_ca_path=resource/tfe/tango-ca-v3-untrust-ca.pem
|
||||
enable_health_check=0
|
||||
|
||||
[debug]
|
||||
passthrough_all_tcp=0
|
||||
@@ -78,11 +79,11 @@ tcp_ttl_upstream=75
|
||||
tcp_ttl_downstream=70
|
||||
|
||||
[log]
|
||||
level=30
|
||||
level=10
|
||||
|
||||
[stat]
|
||||
statsd_server={{ fs_remote.address }}
|
||||
statsd_port={{ fs_remote.port }}
|
||||
|
||||
[http]
|
||||
loglevel=30
|
||||
loglevel=10
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -6,5 +6,6 @@
|
||||
- name: "install tsg_master from localhost"
|
||||
yum:
|
||||
name:
|
||||
- /tmp/ansible_deploy/tsg_master-debug-1.0.3.a4e2a7c-1.el7.centos.x86_64.rpm
|
||||
- /tmp/ansible_deploy/tsg_master-1.0.10.7a0cd47-2.el7.x86_64.rpm
|
||||
state: present
|
||||
skip_broken: yes
|
||||
|
||||
Reference in New Issue
Block a user