一、ansible安装编译redis脚本
- name: 执行编译脚本
shell:
cmd: |
make
make PREFIX=/usr/local/redis install
chdir: /root/redis-6.2.7
# 注意缩进是两格
一、ansible安装编译redis脚本
- name: 执行编译脚本
shell:
cmd: |
make
make PREFIX=/usr/local/redis install
chdir: /root/redis-6.2.7
# 注意缩进是两格