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:
|
2020-07-24 16:06:23 +08:00
|
|
|
- /tmp/ansible_deploy/capture_packet_plug-3.0.2.09f193c-2.el7.x86_64.rpm
|
2020-04-26 02:06:47 +08:00
|
|
|
- /tmp/ansible_deploy/clotho-debug-1.0.0.-1.el7.x86_64.rpm
|
2020-07-24 16:06:23 +08:00
|
|
|
- /tmp/ansible_deploy/dns-2.0.6.d8317e9-2.el7.x86_64.rpm
|
|
|
|
|
- /tmp/ansible_deploy/ftp-1.0.6.2710506-2.el7.x86_64.rpm
|
|
|
|
|
- /tmp/ansible_deploy/fw_dns_plug-3.0.0.0a5d574-2.el7.x86_64.rpm
|
|
|
|
|
- /tmp/ansible_deploy/fw_ftp_plug-3.0.0.7a867ea-2.el7.x86_64.rpm
|
|
|
|
|
- /tmp/ansible_deploy/fw_http_plug-3.0.0.1ca1c65-2.el7.x86_64.rpm
|
|
|
|
|
- /tmp/ansible_deploy/fw_mail_plug-3.0.0.3b4e481-2.el7.x86_64.rpm
|
|
|
|
|
- /tmp/ansible_deploy/fw_quic_plug-3.0.0.b06d39c-2.el7.x86_64.rpm
|
|
|
|
|
- /tmp/ansible_deploy/fw_ssl_plug-3.0.0.3a29c3f-2.el7.x86_64.rpm
|
|
|
|
|
- /tmp/ansible_deploy/http-2.0.3.9218b4b-2.el7.x86_64.rpm
|
|
|
|
|
- /tmp/ansible_deploy/mail-1.0.7.9e3be05-2.el7.x86_64.rpm
|
|
|
|
|
- /tmp/ansible_deploy/quic-1.1.6.d6755d8-2.el7.x86_64.rpm
|
|
|
|
|
- /tmp/ansible_deploy/ssl-1.0.3.e8482a4-2.el7.x86_64.rpm
|
|
|
|
|
- /tmp/ansible_deploy/tsg_conn_record-1.0.0.2155660-1.el7.centos.x86_64.rpm
|
|
|
|
|
- /tmp/ansible_deploy/tsg_conn_sketch-2.0.v2.0_alpha.af621ca-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
|
|
|
|
|
|
2020-04-26 02:06:47 +08:00
|
|
|
- name: "Template the conf/capture_packet_plug.conf.j2"
|
|
|
|
|
template:
|
|
|
|
|
src: "{{ role_path }}/templates/capture_packet_plug.conf.j2"
|
|
|
|
|
dest: /home/mesasoft/sapp_run/conf/capture_packet_plug.conf
|
|
|
|
|
tags: template
|