From 96764f6a5858c7cb9ca7e10b3a4f554e4047fd24 Mon Sep 17 00:00:00 2001
From: Eesaan Atluri <atlurie@uab.edu>
Date: Thu, 19 Dec 2024 10:12:09 -0600
Subject: [PATCH] style: Change the key name in autofs_mounts dict

So that we can have same key names for both dicts used in autofs.yml and fstab.yml roles
---
 ansible/roles/nfs_mounts/tasks/autofs.yml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/ansible/roles/nfs_mounts/tasks/autofs.yml b/ansible/roles/nfs_mounts/tasks/autofs.yml
index daf9f01..301c266 100644
--- a/ansible/roles/nfs_mounts/tasks/autofs.yml
+++ b/ansible/roles/nfs_mounts/tasks/autofs.yml
@@ -1,16 +1,16 @@
 ---
 - name: Create base directories
   ansible.builtin.file:
-    path: "{{ item.dir }}"
+    path: "{{ item.path }}"
     state: directory
     mode: "{{ item.mode }}"
   loop:
-    - { dir: /local, mode: '0777' }
-    - { dir: /share, mode: '0755' }
+    - { path: /local, mode: '0777' }
+    - { path: /share, mode: '0755' }
 
 - name: Create mountpoint dirs
   ansible.builtin.file:
-    path: "{{ item.dir }}"
+    path: "{{ item.path }}"
     state: directory
     mode: "{{ item.mode }}"
   loop:
-- 
GitLab