From d732f4ef42ef2facfbb2ef8713121e8186d82336 Mon Sep 17 00:00:00 2001 From: XaverStiensmeier Date: Fri, 25 Oct 2024 12:37:08 +0200 Subject: [PATCH] improved comments and naming --- .../playbook/roles/bibigrid/tasks/020-disk-automount.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/playbook/roles/bibigrid/tasks/020-disk-automount.yaml b/resources/playbook/roles/bibigrid/tasks/020-disk-automount.yaml index 8cf2756a..07d4576c 100644 --- a/resources/playbook/roles/bibigrid/tasks/020-disk-automount.yaml +++ b/resources/playbook/roles/bibigrid/tasks/020-disk-automount.yaml @@ -8,12 +8,12 @@ force: false state: present - - name: Get the filesystem type of the device using lsblk + - name: Get volume filesystem using lsblk command: "lsblk -no FSTYPE {{ item.device }}" register: filesystem_type until: filesystem_type.stdout != "" - retries: 5 # Adjust the number of retries as needed - delay: 2 # Wait 2 seconds between each retry + retries: 5 + delay: 2 changed_when: false - name: Log the filesystem type