1. update rpm package certstore,tsg_master,tsg_conn_sketch,tfe

2. delete reboot by ansible-playbook yml file
This commit is contained in:
fumingwei
2020-11-05 16:41:23 +06:00
parent fb54d39b84
commit 247460820b
17 changed files with 1361 additions and 22 deletions

View File

@@ -33,15 +33,23 @@
#[app_global]
#[server-as-tun-mode]
#p
#[adc_mxn]
[adc_mxn]
[adc_mcn0]
10.4.51.[1:78]
10.4.51.[1:20]
10.4.51.[23:52]
10.4.51.[55:78]
[adc_mcn1]
10.4.52.[1:78]
10.4.52.[1:20]
10.4.52.[23:52]
10.4.52.[55:78]
[adc_mcn2]
10.4.53.[1:78]
10.4.53.[1:20]
10.4.53.[23:52]
10.4.53.[55:78]
[adc_mcn3]
10.4.54.[1:78]
10.4.54.[1:20]
10.4.54.[23:52]
10.4.54.[55:78]
[packet_dump_server]
10.4.61.3

View File

@@ -1,9 +0,0 @@
- hosts:
- adc_mcn0
- adc_mcn1
- adc_mcn2
- adc_mcn3
remote_user: root
roles:
- reboot

View File

@@ -10,7 +10,7 @@
- name: install certstore
yum:
name:
- /tmp/ansible_deploy/certstore-2.1.3.202010.81eef83-1.el7.x86_64.rpm
- /tmp/ansible_deploy/certstore-2.1.4.20201030.9f2d64e-1.el7.x86_64.rpm
state: present
- name: template certstore configure file

View File

@@ -19,13 +19,13 @@
- /tmp/ansible_deploy/fw_ftp_plug-3.0.1.0a78573-2.el7.x86_64.rpm
- /tmp/ansible_deploy/fw_http_plug-3.0.1.0c7e082-2.el7.x86_64.rpm
- /tmp/ansible_deploy/fw_mail_plug-3.0.1.02465eb-2.el7.x86_64.rpm
- /tmp/ansible_deploy/fw_quic_plug-3.0.1.b790ee1-2.el7.x86_64.rpm
- /tmp/ansible_deploy/fw_quic_plug-3.0.2.2122de5-2.el7.x86_64.rpm
- /tmp/ansible_deploy/fw_ssl_plug-3.0.4.a0b19ee-2.el7.x86_64.rpm
- /tmp/ansible_deploy/http-2.0.5.c61ad9a-2.el7.x86_64.rpm
- /tmp/ansible_deploy/mail-1.0.9.c1d3bde-2.el7.x86_64.rpm
- /tmp/ansible_deploy/quic-1.1.10.c2b90a0-2.el7.x86_64.rpm
- /tmp/ansible_deploy/quic-1.1.11.d7385a1-2.el7.x86_64.rpm
- /tmp/ansible_deploy/ssl-1.0.9.69f3742-2.el7.x86_64.rpm
- /tmp/ansible_deploy/tsg_conn_sketch-2.0.6.abb4f4d-2.el7.x86_64.rpm
- /tmp/ansible_deploy/tsg_conn_sketch-2.0.8.515835a-2.el7.x86_64.rpm
- name: "Template the tsgconf/main.conf"
template:

View File

@@ -0,0 +1,20 @@
- name: "maat-redis-uninstall: stop maat-redis service"
systemd:
name: "{{ item }}"
state: stopped
with_items:
- maat-redis.service
- redis.service
- name: "maat-redis-uninstall: rm maat-redis.conf and maat-redis.service"
file:
path: "{{ item }}"
state: absent
with_items:
- /etc/maat-redis.conf
- /usr/lib/systemd/system/maat-redis.service
- name: remove redis
yum:
name: redis
state: absent

File diff suppressed because it is too large Load Diff

View File

@@ -4,7 +4,7 @@
dest: "/usr/lib/systemd/system"
mode: 0644
- name: "Template the kni.conf"
- name: "Template the maat-redis.conf"
template:
src: "{{ role_path }}/templates/maat-redis.conf.j2"
dest: /etc/maat-redis.conf

Binary file not shown.

Binary file not shown.

View File

@@ -14,7 +14,7 @@
yum:
name:
- /tmp/ansible_deploy/tfe-kmod-v1.0.5.20200408-1dkms.noarch.rpm
- /tmp/ansible_deploy/tfe-4.3.16.b1c3ba7-1.el7.x86_64.rpm
- /tmp/ansible_deploy/tfe-4.3.17.897ff3f-1.el7.x86_64.rpm
state: present
- name: "template tfe-env config"

View File

@@ -6,6 +6,6 @@
- name: "install tsg_master from localhost"
yum:
name:
- /tmp/ansible_deploy/tsg_master-3.3.5.66dda7c-2.el7.x86_64.rpm
- /tmp/ansible_deploy/tsg_master-3.3.6.39335c9-2.el7.x86_64.rpm
state: present
skip_broken: yes

3
uninstall_maat_redis.yml Normal file
View File

@@ -0,0 +1,3 @@
- hosts: host_uninstall_redis
roles:
- maat-redis-uninstall