From 3d024f85be16244148a0eaa28d3ea8e1073b4506 Mon Sep 17 00:00:00 2001 From: khaledk2 Date: Sun, 1 Dec 2024 16:30:50 +0000 Subject: [PATCH] debug 8.2 --- ansible/idr-omero-readonly.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ansible/idr-omero-readonly.yml b/ansible/idr-omero-readonly.yml index e6b010d9..f0125c61 100644 --- a/ansible/idr-omero-readonly.yml +++ b/ansible/idr-omero-readonly.yml @@ -15,7 +15,7 @@ state: directory mode: 0755 # Lock down the read-write node in the read-only cluster - - name: install checkpolicy + - name: install nfs-utils become: true ansible.builtin.dnf: update_cache: true @@ -23,7 +23,10 @@ state: present - name: Display nfs-server status - command: sudo systemctl enable --now nfs-server + command: + - systemctl enable --now nfs-server + - firewall-cmd --permanent --add-service=nfs + - firewall-cmd --reload register: command_output - name: Print to console