2019-06-18 21:24:42 +08:00
|
|
|
- name: "copy framework rpms to destination server"
|
|
|
|
|
synchronize:
|
2019-06-20 16:36:51 +08:00
|
|
|
src: "{{ role_path }}/files/"
|
|
|
|
|
dest: "/tmp/ansible_deploy/"
|
2019-06-18 21:24:42 +08:00
|
|
|
|
2019-07-01 16:25:00 +06:00
|
|
|
- name: "install framework packages"
|
2019-06-18 21:24:42 +08:00
|
|
|
yum:
|
2019-06-20 16:36:51 +08:00
|
|
|
name: "{{ packages }}"
|
2019-06-18 21:24:42 +08:00
|
|
|
state: present
|
2020-05-22 11:08:29 +08:00
|
|
|
skip_broken: yes
|
2019-06-20 16:36:51 +08:00
|
|
|
vars:
|
|
|
|
|
packages:
|
2020-05-18 18:52:52 +08:00
|
|
|
- /tmp/ansible_deploy/libMESA_field_stat-1.0.1.852c2df-1.el7.x86_64.rpm
|
|
|
|
|
- /tmp/ansible_deploy/libMESA_field_stat2-2.8.6.c183ed6-1.el7.x86_64.rpm
|
|
|
|
|
- /tmp/ansible_deploy/libMESA_handle_logger-1.0.8.bd5f0ac-1.el7.x86_64.rpm
|
|
|
|
|
- /tmp/ansible_deploy/libMESA_htable-3.10.11.6275308-1.el7.x86_64.rpm
|
|
|
|
|
- /tmp/ansible_deploy/libMESA_prof_load-1.0.5.bf755de-1.el7.x86_64.rpm
|
|
|
|
|
- /tmp/ansible_deploy/libWiredLB-2.0.3.c7d131b-1.el7.x86_64.rpm
|
|
|
|
|
- /tmp/ansible_deploy/libcjson-1.7.8.542ad7f-1.el7.x86_64.rpm
|
|
|
|
|
- /tmp/ansible_deploy/libdocumentanalyze-2.0.4.efdfc29-1.el7.x86_64.rpm
|
|
|
|
|
- /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
|
2020-05-22 11:08:29 +08:00
|
|
|
- /tmp/ansible_deploy/lz4-1.7.5-3.el7.x86_64.rpm
|
2020-05-22 09:27:29 +08:00
|
|
|
- /tmp/ansible_deploy/librdkafka-0.11.4-1.el7.x86_64.rpm
|
2020-05-18 18:52:52 +08:00
|
|
|
|
|
|
|
|
- name: "mkdir /etc/ld.so.conf.d/"
|
|
|
|
|
file:
|
|
|
|
|
path: /etc/ld.so.conf.d/
|
|
|
|
|
state: directory
|
|
|
|
|
|
|
|
|
|
- name: "copy framework.conf to destination server"
|
2020-05-22 11:08:29 +08:00
|
|
|
copy:
|
|
|
|
|
src: "{{ role_path }}/files/framework.conf"
|
|
|
|
|
dest: /etc/ld.so.conf.d/
|
2019-06-18 21:24:42 +08:00
|
|
|
|
|
|
|
|
- name: "update ld"
|
|
|
|
|
command: ldconfig
|