fix bug in deploy

This commit is contained in:
fumingwei
2020-10-27 12:14:25 +06:00
parent dc9336ae26
commit bda0faa7ff
44 changed files with 1676 additions and 100 deletions

View File

@@ -1,6 +1,6 @@
- name: "copy packet_dump rpm to destination server"
copy:
src: "{{ role_path }}/files/packet_dump-1.0.4.82e85d1-2.el7.x86_64.rpm"
src: "{{ role_path }}/files/packet_dump-1.0.6.2ea75d5-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.4.82e85d1-2.el7.x86_64.rpm
- /tmp/ansible_deploy/packet_dump-1.0.6.2ea75d5-2.el7.x86_64.rpm
state: present
- name: "Template the packet_dump.conf"

View File

@@ -5,10 +5,12 @@ BROKER_LIST={{ log_kafkabrokers.address }}
NIC_NAME={{ nic_mgr.name }}
LOG_LEVEL={{ packet_dump_log_level }}
LOG_PATH=log/packet_dump
PCAPNG_FILEPATH_PREFIX=/troubleshooting/
PCAPNG_BASEPATH_PREFIX=/var/www/html/
[breakpad]
disable_coredump=0
disable_coredump=1
enable_breakpad=1
breakpad_minidump_dir=/tmp/packet_dump/crashreport
enable_breakpad_upload=0
enable_breakpad_upload=1
breakpad_upload_url={{ breakpad_upload_url }}