Commit ff96de0d authored by MUSSET Paul's avatar MUSSET Paul
Browse files

[ansible] ensure owner of meta and ns directories

parent f35b0bc9
Pipeline #96040 passed with stage
in 4 minutes and 2 seconds
......@@ -14,10 +14,7 @@
- name: create /mnt/xcache/{{ directory.dir_name }}
ansible.builtin.file:
group: xrootd
owner: xrootd
path: "/mnt/xcache/{{ directory.dir_name }}"
recurse: yes
state: directory
- name: mount /mnt/xcache/{{ directory.dir_name }}
......@@ -27,3 +24,11 @@
path: "/mnt/xcache/{{ directory.dir_name }}"
src: "/dev/mapper/{{ directory.vg_name }}-xcache_{{ directory.dir_name }}"
state: mounted
- name: make xrootd owner of /mnt/xcache/{{ directory.dir_name }}
ansible.builtin.file:
group: xrootd
owner: xrootd
path: "/mnt/xcache/{{ directory.dir_name }}"
recurse: yes
state: directory
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment