From 24c91ce59c9b6ab821e65ca8f9312bb2a7a8ed25 Mon Sep 17 00:00:00 2001 From: khaledk2 Date: Sat, 30 Nov 2024 00:32:31 +0000 Subject: [PATCH] test3 --- ansible/idr-omero-readonly.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/ansible/idr-omero-readonly.yml b/ansible/idr-omero-readonly.yml index c66974ac..01fec5bb 100644 --- a/ansible/idr-omero-readonly.yml +++ b/ansible/idr-omero-readonly.yml @@ -57,6 +57,18 @@ {{ hostvars[groups[idr_environment | default('idr') + '-omeroreadwrite-hosts'][0]][ 'ansible_' +(idr_net_iface | default('eth0'))]['ipv4']['address'] }} + # selinux + - name: selinux booleans + become: true + seboolean: + name: "{{ item }}" + state: true + persistent: true + with_items: + - httpd_read_user_content + - httpd_enable_homedirs + when: selinux_enabled + #- name: change folder and execute command # command: chdir=/tmp ls @@ -64,6 +76,7 @@ roles: # Use the same paths as on the omeorreadwrite server to reduce confusion - role: ome.selinux_utils + - role: ome.nfs_mount nfs_share_mounts: - path: /data/OMERO-readonly