更新sapp,优化部署
This commit is contained in:
@@ -7,10 +7,19 @@
|
||||
- name: "install sapp rpms from localhost"
|
||||
yum:
|
||||
name:
|
||||
- /tmp/ansible_deploy/sapp-4.0.11.347f7b7-x86_64.rpm
|
||||
# - /tmp/ansible_deploy/sapp-4.0.11.347f7b7-x86_64.rpm
|
||||
- /tmp/ansible_deploy/tsg_master-debug-1.0.3.a4e2a7c-1.el7.centos.x86_64.rpm
|
||||
state: present
|
||||
|
||||
- name: "judge sapp"
|
||||
shell: rpm -qa |grep sapp
|
||||
register: return
|
||||
ignore_errors: true
|
||||
|
||||
- name: "install sapp rpms from localhost"
|
||||
shell: cd /tmp/ansible_deploy;rpm -ivh sapp-4.0.11.347f7b7-x86_64.rpm --nodeps
|
||||
when: return.rc != 0
|
||||
|
||||
- name: make dir
|
||||
file:
|
||||
path: /home/mesasoft/sapp_run/tsgconf
|
||||
|
||||
Reference in New Issue
Block a user