This commit is contained in:
zhangzhihan
2020-05-22 11:08:29 +08:00
parent 35c6127063
commit aad31a42bb
7 changed files with 17 additions and 21 deletions

View File

@@ -7,6 +7,7 @@
yum:
name: "{{ packages }}"
state: present
skip_broken: yes
vars:
packages:
- /tmp/ansible_deploy/libMESA_field_stat-1.0.1.852c2df-1.el7.x86_64.rpm
@@ -20,6 +21,7 @@
- /tmp/ansible_deploy/libmaatframe-2.8.1.8729ebf-2.el7.x86_64.rpm
- /tmp/ansible_deploy/librulescan-2.1.7.c27f70d-1.el7.x86_64.rpm
- /tmp/ansible_deploy/libwiredcfg-2.0.2.7ce1eea-1.el7.x86_64.rpm
- /tmp/ansible_deploy/lz4-1.7.5-3.el7.x86_64.rpm
- /tmp/ansible_deploy/librdkafka-0.11.4-1.el7.x86_64.rpm
- name: "mkdir /etc/ld.so.conf.d/"
@@ -28,8 +30,9 @@
state: directory
- name: "copy framework.conf to destination server"
copy: "{{ role_path }}/files/framework.conf"
dest: /etc/ld.so.conf.d/
copy:
src: "{{ role_path }}/files/framework.conf"
dest: /etc/ld.so.conf.d/
- name: "update ld"
command: ldconfig