From 7ebbd63929ea04c6ea682db19f56679d78d5755b Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 12 Jul 2020 18:34:24 +0200 Subject: [PATCH] Change root --- tasks/main.yml | 8 ++++++++ 1 file changed, 8 insertions(+) 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