refactor:librdkafka和lz4安装由本地安装变为从yum源安装

This commit is contained in:
fumingwei
2021-07-14 15:48:22 +08:00
parent 04c4c82b84
commit 42e73dcba5
3 changed files with 5 additions and 5 deletions

View File

@@ -5,12 +5,12 @@
- name: "install framework packages by rpm packages" - name: "install framework packages by rpm packages"
yum: yum:
name: "{{ packages }}" name: "{{ item }}"
state: present state: present
vars: conf_file: "{{ rpm_repo_config_path }}"
packages: with_items:
- /tmp/ansible_deploy/librdkafka-0.11.4-1.el7.x86_64.rpm - librdkafka
- /tmp/ansible_deploy/lz4-1.7.5-3.el7.x86_64.rpm - lz4
- name: "install framework packages" - name: "install framework packages"
yum: yum: