|
|
|
@ -20,22 +20,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
- name: get the latest stable redis server release
|
|
|
|
- name: get the latest stable redis server release
|
|
|
|
get_url:
|
|
|
|
get_url:
|
|
|
|
url: https://download.redis.io/redis-stable.tar.gz
|
|
|
|
url: https://download.redis.io/releases/redis-7.4.3.tar.gz
|
|
|
|
dest: ./
|
|
|
|
dest: ./
|
|
|
|
timeout: 60
|
|
|
|
timeout: 60
|
|
|
|
|
|
|
|
|
|
|
|
- name: unzip download
|
|
|
|
- name: unzip download
|
|
|
|
unarchive:
|
|
|
|
unarchive:
|
|
|
|
src: redis-stable.tar.gz
|
|
|
|
src: redis-7.4.3.tar.gz
|
|
|
|
dest: ./
|
|
|
|
dest: ./
|
|
|
|
|
|
|
|
|
|
|
|
- command: "{{ make }}"
|
|
|
|
- command: "{{ make }}"
|
|
|
|
args:
|
|
|
|
args:
|
|
|
|
chdir: redis-stable
|
|
|
|
chdir: redis-7.4.3
|
|
|
|
|
|
|
|
|
|
|
|
- name: copy the executable into the path
|
|
|
|
- name: copy the executable into the path
|
|
|
|
copy:
|
|
|
|
copy:
|
|
|
|
src: "redis-stable/src/{{ item }}"
|
|
|
|
src: "redis-7.4.3/src/{{ item }}"
|
|
|
|
dest: /usr/local/bin/
|
|
|
|
dest: /usr/local/bin/
|
|
|
|
mode: 755
|
|
|
|
mode: 755
|
|
|
|
become: yes
|
|
|
|
become: yes
|
|
|
|
|