From 8b7b95eaf25e19b7fa19d2b55529795a04703d6d Mon Sep 17 00:00:00 2001 From: khaledk2 Date: Fri, 29 Nov 2024 20:34:09 +0000 Subject: [PATCH] change working folder --- ansible/idr-omero-readonly.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ansible/idr-omero-readonly.yml b/ansible/idr-omero-readonly.yml index a657e922..c0bc952f 100644 --- a/ansible/idr-omero-readonly.yml +++ b/ansible/idr-omero-readonly.yml @@ -57,6 +57,10 @@ {{ hostvars[groups[idr_environment | default('idr') + '-omeroreadwrite-hosts'][0]][ 'ansible_' +(idr_net_iface | default('eth0'))]['ipv4']['address'] }} + - name: Change the working directory to /tmp + ansible.builtin.shell: + cmd: ls -l | grep log + chdir: /tmp roles: # Use the same paths as on the omeorreadwrite server to reduce confusion