This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
tsg-tsg-os-buildimage/tsg-9140-scripts/roles/firewall/tasks/main.yml

39 lines
1.2 KiB
YAML
Raw Normal View History

2021-04-28 22:09:56 -04:00
---
- name: "install firewall packages"
yum:
2021-05-13 09:35:56 +08:00
name: "{{ item.value }}"
conf_file: "{{ rpm_repo_config_path }}"
2021-04-28 22:09:56 -04:00
state: present
2021-05-13 09:35:56 +08:00
with_dict: "{{ firewall_rpm_version }}"
2021-04-28 22:09:56 -04:00
- name: "Template the tsgconf/main.conf"
template:
src: "{{ role_path }}/templates/main.conf.j2.j2"
dest: /opt/tsg/init_runtime/templates/main.conf.j2
2021-04-28 22:09:56 -04:00
tags: template
- name: "Template the tsgconf/maat.conf"
template:
src: "{{ role_path }}/templates/maat.conf.j2.j2"
dest: /opt/tsg/init_runtime/templates/maat.conf.j2
2021-04-28 22:09:56 -04:00
tags: template
- name: "Template the conf/capture_packet_plug.conf.j2"
template:
src: "{{ role_path }}/templates/capture_packet_plug.conf.j2.j2"
dest: /opt/tsg/init_runtime/templates/capture_packet_plug.conf.j2
2021-04-28 22:09:56 -04:00
tags: template
- name: "Template the tsgconf/app_l7_proto_id.conf"
template:
src: "{{ role_path }}/templates/app_l7_proto_id.conf.j2"
dest: /home/mesasoft/sapp_run/tsgconf/app_l7_proto_id.conf
- 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