1. add deploy Aktubinsk

2. add deploy Kyzylorda
3. update tfe rpm package and add config into tfe.conf.j2
4. move maat_redis to blade mcn0
5. update tsg-master rpm package
6. update package_dump rpm package
This commit is contained in:
fumingwei
2020-10-30 10:32:11 +06:00
parent 49d08c5e2a
commit cd74f03162
29 changed files with 1192 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
- name: "copy packet_dump rpm to destination server"
copy:
src: "{{ role_path }}/files/packet_dump-1.0.6.2ea75d5-2.el7.x86_64.rpm"
src: "{{ role_path }}/files/packet_dump-1.0.7.0c9be9e-2.el7.x86_64.rpm"
dest: /tmp/ansible_deploy/
- name: "copy packet_dump.service to destination server"
@@ -12,7 +12,7 @@
- name: "install packet_dump rpm from localhost"
yum:
name:
- /tmp/ansible_deploy/packet_dump-1.0.6.2ea75d5-2.el7.x86_64.rpm
- /tmp/ansible_deploy/packet_dump-1.0.7.0c9be9e-2.el7.x86_64.rpm
state: present
- name: "Template the packet_dump.conf"
@@ -20,6 +20,11 @@
src: "{{ role_path }}/templates/packet_dump.conf.j2"
dest: /home/mesasoft/packet_dump/conf/packet_dump.conf
tags: template
- name: "create /var/www/html/troubleshooting"
file:
path: /var/www/html/troubleshooting
state: directory
- name: "start packet_dump"
systemd:

View File

@@ -1,5 +1,6 @@
[KAFKA]
BROKER_LIST={{ log_kafkabrokers.address }}
KAFKA_OFFSET=largest
[SYSTEM]
NIC_NAME={{ nic_mgr.name }}

Binary file not shown.

View File

@@ -14,7 +14,7 @@
yum:
name:
- /tmp/ansible_deploy/tfe-kmod-v1.0.5.20200408-1dkms.noarch.rpm
- /tmp/ansible_deploy/tfe-4.3.15.99731ae-1.el7.x86_64.rpm
- /tmp/ansible_deploy/tfe-4.3.16.b1c3ba7-1.el7.x86_64.rpm
state: present
- name: "template tfe-env config"

View File

@@ -188,3 +188,4 @@ maat_redis_db_index={{ maat_redis_server.db }}
# iris mode conf iterm
full_cfg_dir=pangu_policy/full/index/
inc_cfg_dir=pangu_policy/inc/index/
accept_tag_key=data_center

View File

@@ -6,6 +6,6 @@
- name: "install tsg_master from localhost"
yum:
name:
- /tmp/ansible_deploy/tsg_master-3.3.4.d27a197-2.el7.x86_64.rpm
- /tmp/ansible_deploy/tsg_master-3.3.5.66dda7c-2.el7.x86_64.rpm
state: present
skip_broken: yes