20200522
This commit is contained in:
@@ -8,18 +8,11 @@
|
||||
yum:
|
||||
name:
|
||||
- /tmp/ansible_deploy/tsg_master-1.0.6.7c22c8d-2.el7.x86_64.rpm
|
||||
- /tmp/ansible_deploy/sapp-4.0.12.f8435d8-x86_64.rpm
|
||||
state: present
|
||||
skip_broken: yes
|
||||
|
||||
- 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.12.f8435d8-x86_64.rpm
|
||||
when: return.rc != 0
|
||||
|
||||
- name: make dir
|
||||
- name: "mkdir tsgconf"
|
||||
file:
|
||||
path: /home/mesasoft/sapp_run/tsgconf
|
||||
state: directory
|
||||
|
||||
Reference in New Issue
Block a user