36 lines
808 B
YAML
36 lines
808 B
YAML
---
|
|
- name: "Creates /opt/tsg/framework directory"
|
|
file:
|
|
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 --force -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:
|
|
warn: false
|
|
|
|
- name: "ldconfig"
|
|
shell: ldconfig
|
|
args:
|
|
warn: false
|
|
|
|
|
|
|
|
|
|
|