diff --git a/tasks/main.yml b/tasks/main.yml index 3d21c2e..8049231 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -6,3 +6,11 @@ notify: Run service actions tags: - redis +- name: Change root to zfs pool + replace: + path: /etc/redis/redis.conf + regexp: "^dir .*" + replace: "dir {{ redis.data.path }}" + notify: Run service actions + tags: + - redis