48 lines
1.8 KiB
YAML
48 lines
1.8 KiB
YAML
---
|
|
- name: "copy firewall rpms to destination server"
|
|
copy:
|
|
src: "{{ role_path }}/files/"
|
|
dest: /tmp/ansible_deploy/
|
|
|
|
- name: "install firewall packages"
|
|
yum:
|
|
name: "{{ fw_packages }}"
|
|
state: present
|
|
skip_broken: yes
|
|
vars:
|
|
fw_packages:
|
|
- /tmp/ansible_deploy/dns-2.0.2.5effe72-2.el7.x86_64.rpm
|
|
- /tmp/ansible_deploy/ftp-1.0.4.5d3a283-2.el7.x86_64.rpm
|
|
- /tmp/ansible_deploy/http-2.0.1.e8f12ee-2.el7.x86_64.rpm
|
|
- /tmp/ansible_deploy/mail-1.0.3.cbc6034-2.el7.x86_64.rpm
|
|
- /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.1.0.74c9a05-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.1.0.a42c5a0-2.el7.x86_64.rpm
|
|
- /tmp/ansible_deploy/fw_http_plug-1.2.0.a7e63c0-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
|
|
- /tmp/ansible_deploy/quic-1.1.4.9c2e0ba-2.el7.x86_64.rpm
|
|
- /tmp/ansible_deploy/fw_quic_plug-1.0.1.e8cded4-2.el7.x86_64.rpm
|
|
|
|
- name: "Template the tsgconf/main.conf"
|
|
template:
|
|
src: "{{ role_path }}/templates/main.conf.j2"
|
|
dest: /home/mesasoft/sapp_run/tsgconf/main.conf
|
|
tags: template
|
|
|
|
|
|
- name: "Template the tsgconf/maat.conf"
|
|
template:
|
|
src: "{{ role_path }}/templates/maat.conf.j2"
|
|
dest: /home/mesasoft/sapp_run/tsgconf/maat.conf
|
|
tags: template
|
|
|
|
- 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
|