summaryrefslogtreecommitdiff
path: root/roles/framework
diff options
context:
space:
mode:
authorzhangzhihan <[email protected]>2020-05-22 11:08:29 +0800
committerzhangzhihan <[email protected]>2020-05-22 11:08:29 +0800
commitaad31a42bb0ade94397058e5282237181bdccf3a (patch)
tree2d70844dee3135e51084922d8133519848fb1ac5 /roles/framework
parent35c61270634365939076f11bc3b6f47febdc5965 (diff)
Diffstat (limited to 'roles/framework')
-rw-r--r--roles/framework/files/lz4-1.7.5-3.el7.x86_64.rpmbin0 -> 100896 bytes
-rw-r--r--roles/framework/tasks/main.yml7
2 files changed, 5 insertions, 2 deletions
diff --git a/roles/framework/files/lz4-1.7.5-3.el7.x86_64.rpm b/roles/framework/files/lz4-1.7.5-3.el7.x86_64.rpm
new file mode 100644
index 0000000..07035f1
--- /dev/null
+++ b/roles/framework/files/lz4-1.7.5-3.el7.x86_64.rpm
Binary files differ
diff --git a/roles/framework/tasks/main.yml b/roles/framework/tasks/main.yml
index 4a09d50..e4c815a 100644
--- a/roles/framework/tasks/main.yml
+++ b/roles/framework/tasks/main.yml
@@ -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