summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author崔一鸣 <[email protected]>2020-01-16 10:14:51 +0800
committer崔一鸣 <[email protected]>2020-01-16 10:41:43 +0800
commit0ab69f5e22dc1f8a29df40a09bd6ee326ce27ea6 (patch)
tree7d55e323780bc9ac4af8cf9f6e3aed3dc43836bd
parent188c794aca893e9f2cd1fa61a14e8ffcb6c71f83 (diff)
删除kni下重复rpm包
-rw-r--r--roles/kni/files/dns-debug-1.0.0.-1.el7.x86_64.rpmbin32368 -> 0 bytes
-rw-r--r--roles/kni/files/ftp-debug-1.0.0.-1.el7.x86_64.rpmbin30468 -> 0 bytes
-rw-r--r--roles/kni/files/fw_dns_plug-debug-1.0.2.1c9d36d-1.el7.centos.x86_64.rpmbin19572 -> 0 bytes
-rw-r--r--roles/kni/files/fw_ftp_plug-debug-1.0.0.bd656e4-1.el7.centos.x86_64.rpmbin16332 -> 0 bytes
-rw-r--r--roles/kni/files/fw_http_plug-debug-1.0.3.3c95e78-1.el7.centos.x86_64.rpmbin213308 -> 0 bytes
-rw-r--r--roles/kni/files/fw_mail_plug-debug-1.0.1.8792ed8-1.el7.centos.x86_64.rpmbin17924 -> 0 bytes
-rw-r--r--roles/kni/files/http-debug-1.0.0.-1.el7.x86_64.rpmbin67596 -> 0 bytes
-rw-r--r--roles/kni/files/kni-3.0.0.b87af9b-1.el7.x86_64.rpmbin88004 -> 0 bytes
-rw-r--r--roles/kni/files/kni-3.0.2.57bfa41-1.el7.x86_64.rpmbin0 -> 88788 bytes
-rw-r--r--roles/kni/files/kni-debuginfo-3.0.0.b87af9b-1.el7.x86_64.rpmbin34360 -> 0 bytes
-rw-r--r--roles/kni/files/kni-debuginfo-3.0.2.57bfa41-1.el7.x86_64.rpmbin0 -> 34508 bytes
-rw-r--r--roles/kni/files/mail-debug-1.0.0.-1.el7.x86_64.rpmbin58120 -> 0 bytes
-rw-r--r--roles/kni/files/ssl-debug-1.0.0.-1.el7.x86_64.rpmbin36672 -> 0 bytes
-rw-r--r--roles/kni/files/tsg_master-debug-1.0.1.f624b67-1.el7.centos.x86_64.rpmbin46208 -> 0 bytes
-rw-r--r--roles/kni/tasks/main.yml141
15 files changed, 1 insertions, 140 deletions
diff --git a/roles/kni/files/dns-debug-1.0.0.-1.el7.x86_64.rpm b/roles/kni/files/dns-debug-1.0.0.-1.el7.x86_64.rpm
deleted file mode 100644
index bc464cc..0000000
--- a/roles/kni/files/dns-debug-1.0.0.-1.el7.x86_64.rpm
+++ /dev/null
Binary files differ
diff --git a/roles/kni/files/ftp-debug-1.0.0.-1.el7.x86_64.rpm b/roles/kni/files/ftp-debug-1.0.0.-1.el7.x86_64.rpm
deleted file mode 100644
index eed11e2..0000000
--- a/roles/kni/files/ftp-debug-1.0.0.-1.el7.x86_64.rpm
+++ /dev/null
Binary files differ
diff --git a/roles/kni/files/fw_dns_plug-debug-1.0.2.1c9d36d-1.el7.centos.x86_64.rpm b/roles/kni/files/fw_dns_plug-debug-1.0.2.1c9d36d-1.el7.centos.x86_64.rpm
deleted file mode 100644
index 91adde1..0000000
--- a/roles/kni/files/fw_dns_plug-debug-1.0.2.1c9d36d-1.el7.centos.x86_64.rpm
+++ /dev/null
Binary files differ
diff --git a/roles/kni/files/fw_ftp_plug-debug-1.0.0.bd656e4-1.el7.centos.x86_64.rpm b/roles/kni/files/fw_ftp_plug-debug-1.0.0.bd656e4-1.el7.centos.x86_64.rpm
deleted file mode 100644
index 4d32c33..0000000
--- a/roles/kni/files/fw_ftp_plug-debug-1.0.0.bd656e4-1.el7.centos.x86_64.rpm
+++ /dev/null
Binary files differ
diff --git a/roles/kni/files/fw_http_plug-debug-1.0.3.3c95e78-1.el7.centos.x86_64.rpm b/roles/kni/files/fw_http_plug-debug-1.0.3.3c95e78-1.el7.centos.x86_64.rpm
deleted file mode 100644
index 16a9e48..0000000
--- a/roles/kni/files/fw_http_plug-debug-1.0.3.3c95e78-1.el7.centos.x86_64.rpm
+++ /dev/null
Binary files differ
diff --git a/roles/kni/files/fw_mail_plug-debug-1.0.1.8792ed8-1.el7.centos.x86_64.rpm b/roles/kni/files/fw_mail_plug-debug-1.0.1.8792ed8-1.el7.centos.x86_64.rpm
deleted file mode 100644
index f2e818f..0000000
--- a/roles/kni/files/fw_mail_plug-debug-1.0.1.8792ed8-1.el7.centos.x86_64.rpm
+++ /dev/null
Binary files differ
diff --git a/roles/kni/files/http-debug-1.0.0.-1.el7.x86_64.rpm b/roles/kni/files/http-debug-1.0.0.-1.el7.x86_64.rpm
deleted file mode 100644
index 0c5dd35..0000000
--- a/roles/kni/files/http-debug-1.0.0.-1.el7.x86_64.rpm
+++ /dev/null
Binary files differ
diff --git a/roles/kni/files/kni-3.0.0.b87af9b-1.el7.x86_64.rpm b/roles/kni/files/kni-3.0.0.b87af9b-1.el7.x86_64.rpm
deleted file mode 100644
index a162a60..0000000
--- a/roles/kni/files/kni-3.0.0.b87af9b-1.el7.x86_64.rpm
+++ /dev/null
Binary files differ
diff --git a/roles/kni/files/kni-3.0.2.57bfa41-1.el7.x86_64.rpm b/roles/kni/files/kni-3.0.2.57bfa41-1.el7.x86_64.rpm
new file mode 100644
index 0000000..be015b2
--- /dev/null
+++ b/roles/kni/files/kni-3.0.2.57bfa41-1.el7.x86_64.rpm
Binary files differ
diff --git a/roles/kni/files/kni-debuginfo-3.0.0.b87af9b-1.el7.x86_64.rpm b/roles/kni/files/kni-debuginfo-3.0.0.b87af9b-1.el7.x86_64.rpm
deleted file mode 100644
index 6ed63f4..0000000
--- a/roles/kni/files/kni-debuginfo-3.0.0.b87af9b-1.el7.x86_64.rpm
+++ /dev/null
Binary files differ
diff --git a/roles/kni/files/kni-debuginfo-3.0.2.57bfa41-1.el7.x86_64.rpm b/roles/kni/files/kni-debuginfo-3.0.2.57bfa41-1.el7.x86_64.rpm
new file mode 100644
index 0000000..9ce70fa
--- /dev/null
+++ b/roles/kni/files/kni-debuginfo-3.0.2.57bfa41-1.el7.x86_64.rpm
Binary files differ
diff --git a/roles/kni/files/mail-debug-1.0.0.-1.el7.x86_64.rpm b/roles/kni/files/mail-debug-1.0.0.-1.el7.x86_64.rpm
deleted file mode 100644
index 97a26b6..0000000
--- a/roles/kni/files/mail-debug-1.0.0.-1.el7.x86_64.rpm
+++ /dev/null
Binary files differ
diff --git a/roles/kni/files/ssl-debug-1.0.0.-1.el7.x86_64.rpm b/roles/kni/files/ssl-debug-1.0.0.-1.el7.x86_64.rpm
deleted file mode 100644
index 82d11ad..0000000
--- a/roles/kni/files/ssl-debug-1.0.0.-1.el7.x86_64.rpm
+++ /dev/null
Binary files differ
diff --git a/roles/kni/files/tsg_master-debug-1.0.1.f624b67-1.el7.centos.x86_64.rpm b/roles/kni/files/tsg_master-debug-1.0.1.f624b67-1.el7.centos.x86_64.rpm
deleted file mode 100644
index 7412272..0000000
--- a/roles/kni/files/tsg_master-debug-1.0.1.f624b67-1.el7.centos.x86_64.rpm
+++ /dev/null
Binary files differ
diff --git a/roles/kni/tasks/main.yml b/roles/kni/tasks/main.yml
index cd3dd57..31543b5 100644
--- a/roles/kni/tasks/main.yml
+++ b/roles/kni/tasks/main.yml
@@ -7,13 +7,7 @@
- name: "install kni rpms from localhost"
yum:
name:
- - /tmp/ansible_deploy/kni-3.0.0.b87af9b-1.el7.x86_64.rpm
- state: present
-
-- name: "install kni-debuginfo rpms from localhost"
- yum:
- name:
- - /tmp/ansible_deploy/kni-debuginfo-3.0.0.b87af9b-1.el7.x86_64.rpm
+ - /tmp/ansible_deploy/kni-3.0.2.57bfa41-1.el7.x86_64.rpm
state: present
- name: Template the kni.conf
@@ -21,139 +15,6 @@
src: "{{ role_path }}/templates/kni.conf.j2"
dest: /home/mesasoft/sapp_run/etc/kni/kni.conf
tags: template
-
-- name: "install dns-debug rpms from localhost"
- yum:
- name:
- - /tmp/ansible_deploy/dns-debug-1.0.0.-1.el7.x86_64.rpm
- state: present
- when: install_dns_debug == "yes"
-
-- name: "install ftp-debug rpms from localhost"
- yum:
- name:
- - /tmp/ansible_deploy/ftp-debug-1.0.0.-1.el7.x86_64.rpm
- state: present
- when: install_ftp_debug == "yes"
-
-- name: "install http-debug rpms from localhost"
- yum:
- name:
- - /tmp/ansible_deploy/http-debug-1.0.0.-1.el7.x86_64.rpm
- state: present
- when: install_http_debug == "yes"
-
-- name: "install mail-debug rpms from localhost"
- yum:
- name:
- - /tmp/ansible_deploy/mail-debug-1.0.0.-1.el7.x86_64.rpm
- state: present
- when: install_mail_debug == "yes"
-
-- name: "install ssl-debug rpms from localhost"
- yum:
- name:
- - /tmp/ansible_deploy/ssl-debug-1.0.0.-1.el7.x86_64.rpm
- state: present
- when: install_ssl_debug == "yes"
-
-- name: "install fw_dns_plug-debug rpms from localhost"
- yum:
- name:
- - /tmp/ansible_deploy/fw_dns_plug-debug-1.0.2.1c9d36d-1.el7.centos.x86_64.rpm
- state: present
- when: install_fw_dns_plug_debug == "yes"
-
-- name: "install fw_ftp_plug-debug rpms from localhost"
- yum:
- name:
- - /tmp/ansible_deploy/fw_ftp_plug-debug-1.0.0.bd656e4-1.el7.centos.x86_64.rpm
- state: present
- when: install_fw_ftp_plug_debug == "yes"
-
-- name: "install fw_http_plug-debug rpms from localhost"
- yum:
- name:
- - /tmp/ansible_deploy/fw_http_plug-debug-1.0.3.3c95e78-1.el7.centos.x86_64.rpm
- state: present
- when: install_fw_http_plug_debug == "yes"
-
-- name: "install fw_mail_plug-debug rpms from localhost"
- yum:
- name:
- - /tmp/ansible_deploy/fw_mail_plug-debug-1.0.1.8792ed8-1.el7.centos.x86_64.rpm
- state: present
- when: install_fw_mail_plug_debug == "yes"
-
-- name: "install dns-debug rpms from localhost"
- yum:
- name:
- - /tmp/ansible_deploy/dns-debug-1.0.0.-1.el7.x86_64.rpm
- state: present
- when: install_dns_debug == "yes"
-
-- name: "install ftp-debug rpms from localhost"
- yum:
- name:
- - /tmp/ansible_deploy/ftp-debug-1.0.0.-1.el7.x86_64.rpm
- state: present
- when: install_ftp_debug == "yes"
-
-- name: "install http-debug rpms from localhost"
- yum:
- name:
- - /tmp/ansible_deploy/http-debug-1.0.0.-1.el7.x86_64.rpm
- state: present
- when: install_http_debug == "yes"
-
-- name: "install mail-debug rpms from localhost"
- yum:
- name:
- - /tmp/ansible_deploy/mail-debug-1.0.0.-1.el7.x86_64.rpm
- state: present
- when: install_mail_debug == "yes"
-
-- name: "install ssl-debug rpms from localhost"
- yum:
- name:
- - /tmp/ansible_deploy/ssl-debug-1.0.0.-1.el7.x86_64.rpm
- state: present
- when: install_ssl_debug == "yes"
-
-- name: "install fw_dns_plug-debug rpms from localhost"
- yum:
- name:
- - /tmp/ansible_deploy/fw_dns_plug-debug-1.0.2.1c9d36d-1.el7.centos.x86_64.rpm
- state: present
- when: install_fw_dns_plug_debug == "yes"
-
-- name: "install fw_ftp_plug-debug rpms from localhost"
- yum:
- name:
- - /tmp/ansible_deploy/fw_ftp_plug-debug-1.0.0.bd656e4-1.el7.centos.x86_64.rpm
- state: present
- when: install_fw_ftp_plug_debug == "yes"
-
-- name: "install fw_http_plug-debug rpms from localhost"
- yum:
- name:
- - /tmp/ansible_deploy/fw_http_plug-debug-1.0.2.f307503-1.el7.centos.x86_64.rpm
- state: present
- when: install_fw_http_plug_debug == "yes"
-
-- name: "install fw_mail_plug-debug rpms from localhost"
- yum:
- name:
- - /tmp/ansible_deploy/fw_mail_plug-debug-1.0.1.8792ed8-1.el7.centos.x86_64.rpm
- state: present
- when: install_fw_mail_plug_debug == "yes"
-
-- name: "install tsg-master rpms from localhost"
- yum:
- name:
- - /tmp/ansible_deploy/tsg_master-debug-1.0.1.f624b67-1.el7.centos.x86_64.rpm
- state: present
- when: install_tsg_master == "yes"
- name: "enable sapp"
systemd: