fix bug in deploy
This commit is contained in:
12
roles/redis/tasks/main.yml
Normal file
12
roles/redis/tasks/main.yml
Normal 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
|
||||
Reference in New Issue
Block a user