Skip to content
Snippets Groups Projects
Commit 6480eda6 authored by Jörg Sachse's avatar Jörg Sachse
Browse files
parents e15de3f9 61f3d229
No related branches found
No related tags found
No related merge requests found
Pipeline #5798 failed
......@@ -41,36 +41,6 @@
label: "{{ item.0 }}"
when: ansible_hostname in item.0.hosts
# - name: create mount points and mount shares for Rosetta DEV
# ansible.posix.mount:
# fstype: "{{ item.value.fstype | default('nfs') }}"
# opts: "{{ item.value.mount_opts | default('auto,nfsvers=4') }}"
# src: "{{ item.value.src }}"
# path: "{{ item.value.path }}"
# state: "{{ item.value.state | default('mounted') }}"
# loop: "{{ volumes.dev | dict2items }}"
# when: ansible_hostname == "sdvlzarosappdev"
#
# - name: create mount points and mount shares for Rosetta TEST
# ansible.posix.mount:
# fstype: "{{ item.value.fstype | default('nfs') }}"
# opts: "{{ item.value.mount_opts | default('auto,nfsvers=4') }}"
# src: "{{ item.value.src }}"
# path: "{{ item.value.path }}"
# state: "{{ item.value.state | default('mounted') }}"
# loop: "{{ volumes.test | dict2items }}"
# when: ansible_hostname == "sdvrosetta-test"
#
# - name: create mount points and mount shares for Rosetta PROD
# ansible.posix.mount:
# fstype: "{{ item.value.fstype | default('nfs') }}"
# opts: "{{ item.value.mount_opts | default('auto,nfsvers=4') }}"
# src: "{{ item.value.src }}"
# path: "{{ item.value.path }}"
# state: "{{ item.value.state | default('mounted') }}"
# loop:: "{{ volumes.prod | dict2items }}"
# when: ansible_hostname in "sdvlzarosappprod0"
#
- name: find /mnt/sdvlzasubapp*_access directories
ansible.builtin.find:
paths: "/mnt/"
......@@ -108,3 +78,17 @@
group: "{{ nfs_ingest_group }}"
mode: "0770"
loop: "{{ ingest_dirs.files }}"
- name: set correct permissions/owner/group for permanent shares
ansible.builtin.file:
path: "{{ item.1.path }}"
state: directory
owner: "{{ vault_rosetta_user }}"
group: "{{ vault_rosetta_group }}"
mode: "0755"
loop: "{{ volumes | subelements('shares') }}"
loop_control:
label: "{{ item.0 }}"
when:
- (ansible_hostname in item.0.hosts)
- ("permanent" in item.1.path)
......@@ -6,5 +6,6 @@
'mediaconch',
'mediainfo',
'perl-Image-ExifTool',
'slubarchiv-xml-catalog',
]
state: latest
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment