@@ -25,6 +25,7 @@
- pkg-config
- zlib1g-dev
- libssl-dev
+ - python3-pip
redis_ports:
- {"port": 19901, "start-hslot": 0, "end-hslot": 1365}
- {"port": 19902, "start-hslot": 1366, "end-hslot": 2730}
@@ -73,6 +74,10 @@
state: present
- name: Enable RPS
shell: "echo '3' > /sys/class/net/{{ ansible_default_ipv4.alias}}/queues/rx-0/rps_cpus"
+ - name: Install Redis Python pip
+ pip:
+ name: redis
+ executable: pip3
tasks:
- name: load vars