在ansible主机和目标主机安装redis ansible主机 tar zxf redis-5.0.3.tar.gz cd redis-5.0.3 yum install gcc -y make MALLOC=libc make install cd utils/ ./install_server.sh cd /etc/redis/ cp 6379.conf /