Added Redis and Redis Insight to Ansible playbook.
diff --git a/ansible/README.md b/ansible/README.md
new file mode 100644
index 0000000000..2ab1943eaa
--- /dev/null
+++ b/ansible/README.md
@@ -0,0 +1,7 @@
+To test the ansible playbook on localhost run
+`ansible-playbook -i test.inventory.ini dev.yaml`.\
+In case you're missing the ansible docker depencency install it with `ansible-galaxy collection install community.docker`.\
+Point Redis Insights to the Redis database by visiting localhost:8001 in a
+browser and select "I already have a database" followed by "Connect to a Redis
+Database".\
+For host, port and name fill in `oasst-redis`, `6379` and `redis`.
diff --git a/ansible/dev.yaml b/ansible/dev.yaml
index 577abd68da..90f7a85ab8 100644
--- a/ansible/dev.yaml
+++ b/ansible/dev.yaml
@@ -10,6 +10,39 @@
         state: present
         driver: bridge
 
+    - name: Copy redis.conf to managed node
+      ansible.builtin.copy:
+        src: ./redis.conf
+        dest: ./redis.conf
+
+    - name: Set up Redis
+      community.docker.docker_container:
+        name: oasst-redis
+        image: redis
+        state: started
+        restart_policy: always
+        network_mode: oasst
+        ports:
+          - 6379:6379
+        healthcheck:
+          test: ["CMD-SHELL", "redis-cli ping | grep PONG"]
+          interval: 2s
+          timeout: 2s
+          retries: 10
+        command: redis-server /usr/local/etc/redis/redis.conf
+        volumes:
+          - "./redis.conf:/usr/local/etc/redis/redis.conf"
+
+    - name: Set up Redis Insights
+      community.docker.docker_container:
+        name: oasst-redis-insights
+        image: redislabs/redisinsight:latest
+        state: started
+        restart_policy: always
+        network_mode: oasst
+        ports:
+          - 8001:8001
+
     - name: Create postgres containers
       community.docker.docker_container:
         name: "{{ item.name }}"
@@ -51,6 +84,7 @@
         network_mode: oasst
         env:
           POSTGRES_HOST: oasst-postgres
+          REDIS_HOST: oasst-redis
           DEBUG_ALLOW_ANY_API_KEY: "true"
           DEBUG_USE_SEED_DATA: "true"
           MAX_WORKERS: "1"
diff --git a/ansible/redis.conf b/ansible/redis.conf
new file mode 100644
index 0000000000..58da1e0573
--- /dev/null
+++ b/ansible/redis.conf
@@ -0,0 +1,2 @@
+maxmemory 100mb
+maxmemory-policy allkeys-lru
diff --git a/ansible/test.inventory.ini b/ansible/test.inventory.ini
new file mode 100644
index 0000000000..bfe6d93fd5
--- /dev/null
+++ b/ansible/test.inventory.ini
@@ -0,0 +1,2 @@
+[test]
+dev ansible_connection=local

I basically converted the [changes](https://github.com/LAION-AI/Open-Assistant/pull/187/files#diff-3fde9d1a396e140fefc7676e1bd237d67b6864552b6f45af1ebcc27bcd0bb6e9) in the ```docker-compose.yaml``` to the ansible playbook and tweaked it a bit.
I further added an ansible inventory file for local testing and docs.