From db13bd54a9c9326511c5d343f1b3ac81ef97272b Mon Sep 17 00:00:00 2001 From: Hagen Rother Date: Thu, 20 Jun 2024 12:43:55 +0200 Subject: [PATCH] switch detect zfs pool to ansible.builtin.command --- tasks/create-pool.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/create-pool.yml b/tasks/create-pool.yml index 46a829c..fa533e3 100644 --- a/tasks/create-pool.yml +++ b/tasks/create-pool.yml @@ -6,7 +6,7 @@ changed_when: false - name: Detect zfs pool - ansible.builtin.shell: "zpool list {{ item.key }}" + ansible.builtin.command: "zpool list {{ item.key }}" register: ansible_zfs_pool failed_when: false changed_when: false