功能端部署剧本升级,适配20.04版本

This commit is contained in:
zhangzhihan
2020-04-26 02:06:47 +08:00
parent 9cad585759
commit 633624c5a5
61 changed files with 111 additions and 622 deletions

View File

@@ -1,4 +1,3 @@
---
- name: "copy framework rpms to destination server"
synchronize:
src: "{{ role_path }}/files/"
@@ -10,35 +9,13 @@
state: present
vars:
packages:
- /tmp/ansible_deploy/dkms/dkms-2.7.1-1.el7.noarch.rpm
- /tmp/ansible_deploy/framework/framework-2.0.11.aad8b7e-1.el7.centos.x86_64.rpm
- /tmp/ansible_deploy/framework-debug-2.0.17.1e678c4-1.el7.centos.x86_64.rpm
- /tmp/ansible_deploy/libmaatframe-2.8.0.5a450d2-1.el7.x86_64.rpm/
- name: "install framework ld.conf"
synchronize:
src: "{{ role_path }}/files/framework/framework.conf"
dest: /etc/ld.so.conf.d/framework.conf
- name: "install/update rulescan library"
synchronize:
src: "{{ role_path }}/files/rulescan/librulescan.so"
dest: /opt/MESA/lib/librulescan.so
- name: "install/update maat library files"
synchronize:
src: "{{ role_path }}/files/maat/lib/"
dest: /opt/MESA/lib/
- name: "create maat library symbol links - A"
file:
src: "libmaatframe.so.2.8"
path: /opt/MESA/lib/libmaatframe.so.2
state: link
- name: "create maat library symbol links - B"
file:
src: "libmaatframe.so.2"
path: /opt/MESA/lib/libmaatframe.so
state: link
- name: "update ld"
command: ldconfig