This commit is contained in:
zhangzhihan
2020-05-22 11:08:29 +08:00
parent 35c6127063
commit aad31a42bb
7 changed files with 17 additions and 21 deletions

View File

@@ -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