2020-01-16 18:32:06 +08:00
|
|
|
---
|
|
|
|
|
- name: "copy firewall rpms to destination server"
|
|
|
|
|
copy:
|
|
|
|
|
src: "{{ role_path }}/files/"
|
|
|
|
|
dest: /tmp/ansible_deploy/
|
|
|
|
|
|
2020-04-26 02:06:47 +08:00
|
|
|
- name: "install firewall packages"
|
2020-01-16 18:32:06 +08:00
|
|
|
yum:
|
2020-04-26 02:06:47 +08:00
|
|
|
name: "{{ fw_packages }}"
|
2020-01-16 18:32:06 +08:00
|
|
|
state: present
|
2020-06-24 18:08:40 +08:00
|
|
|
skip_broken: yes
|
2020-04-26 02:06:47 +08:00
|
|
|
vars:
|
|
|
|
|
fw_packages:
|
2021-07-21 10:21:07 +08:00
|
|
|
- /tmp/ansible_deploy/capture_packet_plug-3.0.6.a2db4a4-2.el7.x86_64.rpm
|
2020-10-15 15:50:19 +08:00
|
|
|
- /tmp/ansible_deploy/conn_telemetry-1.0.2.8d6da43-2.el7.x86_64.rpm
|
2021-07-06 14:48:40 +08:00
|
|
|
- /tmp/ansible_deploy/dns-2.0.12.e083fec-2.el7.x86_64.rpm
|
2020-10-15 15:50:19 +08:00
|
|
|
- /tmp/ansible_deploy/ftp-1.0.8.13d5fda-2.el7.x86_64.rpm
|
2021-07-06 14:48:40 +08:00
|
|
|
- /tmp/ansible_deploy/fw_dns_plug-3.0.6.57c2feb-2.el7.x86_64.rpm
|
2020-10-15 15:50:19 +08:00
|
|
|
- /tmp/ansible_deploy/fw_ftp_plug-3.0.1.0a78573-2.el7.x86_64.rpm
|
2021-07-21 10:21:07 +08:00
|
|
|
- /tmp/ansible_deploy/fw_http_plug-3.2.5.30df450-2.el7.x86_64.rpm
|
2021-06-01 16:24:53 +08:00
|
|
|
- /tmp/ansible_deploy/fw_mail_plug-3.1.1.777fa90-2.el7.x86_64.rpm
|
2021-01-31 22:43:40 +08:00
|
|
|
- /tmp/ansible_deploy/fw_quic_plug-3.0.4.947ef77-2.el7.x86_64.rpm
|
2021-07-06 14:48:40 +08:00
|
|
|
- /tmp/ansible_deploy/fw_ssl_plug-3.1.1.d9e9de4-2.el7.x86_64.rpm
|
2020-10-15 15:50:19 +08:00
|
|
|
- /tmp/ansible_deploy/http-2.0.5.c61ad9a-2.el7.x86_64.rpm
|
2021-07-06 14:48:40 +08:00
|
|
|
- /tmp/ansible_deploy/mail-1.0.11.48abeae-2.el7.x86_64.rpm
|
2021-01-31 22:43:40 +08:00
|
|
|
- /tmp/ansible_deploy/quic-1.1.17.8c22b4d-2.el7.x86_64.rpm
|
2021-07-06 14:48:40 +08:00
|
|
|
- /tmp/ansible_deploy/ssl-2.0.2.1389716-2.el7.x86_64.rpm
|
|
|
|
|
- /tmp/ansible_deploy/tsg_conn_sketch-2.1.41.906e62b-2.el7.x86_64.rpm
|
2021-03-19 14:24:42 +08:00
|
|
|
- /tmp/ansible_deploy/rtp-1.0.4.91b4ab7-2.el7.x86_64.rpm
|
2021-07-06 14:48:40 +08:00
|
|
|
- /tmp/ansible_deploy/mesa_sip-1.1.1.0721ead-2.el7.x86_64.rpm
|
2021-04-22 19:45:01 +08:00
|
|
|
- /tmp/ansible_deploy/fw_voip_plug-1.0.6.341fe83-2.el7.x86_64.rpm
|
2021-06-08 10:04:04 +08:00
|
|
|
- /tmp/ansible_deploy/gtp-1.0.4.8804e43-2.el7.x86_64.rpm
|
2021-07-06 14:48:40 +08:00
|
|
|
- /tmp/ansible_deploy/gtp_signaling_plug-1.0.2.2dfced5-2.el7.x86_64.rpm
|
2021-07-21 10:21:07 +08:00
|
|
|
- /tmp/ansible_deploy/app_proto_identify-2.0.1.dd683eb-2.el7.x86_64.rpm
|
|
|
|
|
- /tmp/ansible_deploy/app_proto_engine-devel-2.0.4.95a943e-2.el7.x86_64.rpm
|
2020-04-26 02:06:47 +08:00
|
|
|
|
|
|
|
|
- name: "Template the tsgconf/main.conf"
|
2020-04-01 10:31:23 +08:00
|
|
|
template:
|
|
|
|
|
src: "{{ role_path }}/templates/main.conf.j2"
|
|
|
|
|
dest: /home/mesasoft/sapp_run/tsgconf/main.conf
|
|
|
|
|
tags: template
|
|
|
|
|
|
|
|
|
|
|
2020-04-26 02:06:47 +08:00
|
|
|
- name: "Template the tsgconf/maat.conf"
|
2020-04-01 10:31:23 +08:00
|
|
|
template:
|
|
|
|
|
src: "{{ role_path }}/templates/maat.conf.j2"
|
|
|
|
|
dest: /home/mesasoft/sapp_run/tsgconf/maat.conf
|
|
|
|
|
tags: template
|
|
|
|
|
|
2021-01-31 22:43:40 +08:00
|
|
|
|
2021-07-21 11:40:30 +08:00
|
|
|
- name: "Template the conf/capture_packet_plug.conf.j2"
|
2021-01-31 22:43:40 +08:00
|
|
|
template:
|
2021-07-21 11:40:30 +08:00
|
|
|
src: "{{ role_path }}/templates/capture_packet_plug.conf.j2"
|
|
|
|
|
dest: /home/mesasoft/sapp_run/conf/capture_packet_plug.conf
|
|
|
|
|
tags: template
|
|
|
|
|
|
2021-01-31 22:43:40 +08:00
|
|
|
|
|
|
|
|
- name: "Template the /home/mesasoft/sapp_run/plug/business/tsg_conn_sketch/tsg_conn_sketch.inf"
|
|
|
|
|
template:
|
|
|
|
|
src: "{{ role_path }}/templates/tsg_conn_sketch.inf.j2"
|
|
|
|
|
dest: /home/mesasoft/sapp_run/plug/business/tsg_conn_sketch/tsg_conn_sketch.inf
|
|
|
|
|
tags: template
|
|
|
|
|
|
2021-07-06 14:48:40 +08:00
|
|
|
- name: "Template the conf/http/http.conf"
|
|
|
|
|
template:
|
|
|
|
|
src: "{{ role_path }}/templates/http.conf.j2"
|
|
|
|
|
dest: /home/mesasoft/sapp_run/conf/http/http.conf
|
|
|
|
|
tags: template
|