add libnanomsg.

This commit is contained in:
lijia
2021-12-01 19:45:27 +08:00
parent a4acee1c2f
commit e15fb93003
2 changed files with 10 additions and 0 deletions

View File

@@ -4,11 +4,21 @@
path: /opt/tsg/framework/lib
state: directory
- name: "copy nanomsg rpm to destination server"
copy:
src: "{{ role_path }}/files/nanomsg-1.1.5-6.el7.x86_64.rpm"
dest: "/tmp/"
- name: "copy wannat_common rpm to destination server"
copy:
src: "{{ role_path }}/files/{{ wannat_global.rpm_files.wannat_common_rpm_file }}"
dest: "/tmp/"
- name: "install nanomsg"
shell: rpm -i /tmp/nanomsg-1.1.5-6.el7.x86_64.rpm
args:
warn: false
- name: "install wannat_common"
shell: rpm --nodeps --replacepkgs -i /tmp/{{ wannat_global.rpm_files.wannat_common_rpm_file }} --prefix /opt/tsg/framework
args: