fix bug in deploy

This commit is contained in:
fumingwei
2020-10-27 12:14:25 +06:00
parent dc9336ae26
commit bda0faa7ff
44 changed files with 1676 additions and 100 deletions

View File

@@ -0,0 +1,12 @@
- name: "redis rpm install:copy file to device"
copy:
src: '{{ role_path }}/files/'
dest: /tmp/ansible_deploy/
- name: "redis rpm install:install redis"
yum:
name:
- "/tmp/ansible_deploy/jemalloc-3.6.0-1.el7.x86_64.rpm"
- "/tmp/ansible_deploy/redis40u-4.0.14-1.ius.centos7.x86_64.rpm"
state: present