diff --git a/ansible/idr-01-install-idr.yml b/ansible/idr-01-install-idr.yml index 5ec96229..fb8431af 100644 --- a/ansible/idr-01-install-idr.yml +++ b/ansible/idr-01-install-idr.yml @@ -8,9 +8,10 @@ - import_playbook: idr-omero.yml +- import_playbook: idr-omero-readonly.yml + - import_playbook: idr-omero-web.yml -- import_playbook: idr-omero-readonly.yml tags: # Requires NFS shares which can't be configured in Docker diff --git a/ansible/idr-omero-readonly.yml b/ansible/idr-omero-readonly.yml index af86d8fd..479d0563 100644 --- a/ansible/idr-omero-readonly.yml +++ b/ansible/idr-omero-readonly.yml @@ -25,9 +25,18 @@ - name: Display nfs-server status command: systemctl enable --now nfs-server register: command_output + + - name: enable nfs + become: true + service: + enabled: true + name: nfs-server + state: started + - name: Display nfs-server status command: ls -ld /data/OMERO register: command_output1 + - name: Display nfs-server status command: ls -ld /data/BioFormatsCache register: command_output2