Skip to content
Snippets Groups Projects
Commit 96764f6a authored by Eesaan Atluri's avatar Eesaan Atluri
Browse files

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
parent b2495d56
No related branches found
No related tags found
1 merge request!3Change compute reference to login
--- ---
- name: Create base directories - name: Create base directories
ansible.builtin.file: ansible.builtin.file:
path: "{{ item.dir }}" path: "{{ item.path }}"
state: directory state: directory
mode: "{{ item.mode }}" mode: "{{ item.mode }}"
loop: loop:
- { dir: /local, mode: '0777' } - { path: /local, mode: '0777' }
- { dir: /share, mode: '0755' } - { path: /share, mode: '0755' }
- name: Create mountpoint dirs - name: Create mountpoint dirs
ansible.builtin.file: ansible.builtin.file:
path: "{{ item.dir }}" path: "{{ item.path }}"
state: directory state: directory
mode: "{{ item.mode }}" mode: "{{ item.mode }}"
loop: loop:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment